NOP = @echo "No operation for target $@"
COMPILE = $(NOP)
+COMPILE_TARGET = compile.stamp
COPY = $(NOP)
ZIP = zip -r $(project).zip $(project)
DEB = fakeroot dpkg-deb --build $(project)
#
#-----------------------------------------------------------------
-compile: compile.stamp
+compile: $(COMPILE_TARGET)
# compile ist fertig
zip: $(project).zip
#-----------------------------------------------------------------
# compile steps
#-----------------------------------------------------------------
-
compile.stamp: $(SOURCES)
$(COMPILE)
@touch compile.stamp
#-----------------------------------------------------------------
# Build-Regeln
#-----------------------------------------------------------------
-%.pdf : %.tex
+%.pdf : %.tex $(SOURCES)
pdflatex $<