I wrote several standalone tex files for drawing a figure with tikz, I named them with the pattern tikz_*.tex, and now I want to compile them all at once using a make file. First I tried the following
tikz_%.pdf: tikz_%.tex pdflatex tikz_$*.tex
Secondly, how can I make a rule to generate all the pdf files in Makefile? I know I could make another rule and list all the pdfs I want to compile but there are too many such files.