To apply a rule to compile any C++ files, we can write a rule as follows,
CPP=g++
CLFAGS=-Wall
%.o:%.cpp
$(CPP) $(CFLAGS) $< -o $@
To apply to rule to convert any LaTeX files to dvi files, any dvi files to PostScript files, and then any PostScript files to PDF files, we may write a set of rules as follows,
%.pdf: %.ps
ps2pdf \
-dPDFSETTINGS=/prepress \
-dSubsetFonts=true \
-dEmbedAllFonts=true \
-dMaxSubsetPct=100 \
-dCompatibilityLevel=1.4 $<
%.ps: %.dvi
dvips -t letter $<
%.dvi: %.tex
latex $<
Thanks for sharing & Its Great information. And Look on right now!
ReplyDeleteCan help you BlogSpot Blog, Sbcglobal email not working on iPhone/Mac/Phone, and Sbcglobal.net not sending and receiving emails| How to Reset My Spotify Password? How to Recover My Spotify Password?