PROJNAME=main .PHONY: $(PROJNAME).pdf all clean all: $(PROJNAME).pdf $(PROJNAME).pdf: $(PROJNAME).tex context --nonstopmode $<