I am using the following makefile to run the command
texi2pdf 06a-amcoh.texi
But I also have two other files, namely 06a-amcoh-igm.texi and 06a-amcoh-rfc.texi, which I also want to be able to call texi2pdf 06a-amcoh-igm.texi and texi2pdf 06a-amcoh-rfc.texi.
How may I modify the makefile to be able to call texi2pdf for the specific files.
.PHONY: all new again clean
ch6 := $(wildcard *amcoh.texi)
igm := $(wildcard *igm.texi)
rfc := $(wildcard *rfc.texi)
pdfs := $(tfiles:.texi=.pdf)
all: ${pdfs}
%.pdf: %.texi
texi2pdf $< -o $@
clean:
rm -f ${pdfs}
again:
${MAKE} clean
${MAKE}
new:
${MAKE} again