]> wagnertech.de Git - projects.git/blobdiff - tools/make/makefile
trompete
[projects.git] / tools / make / makefile
index 9fd2c445b889e625be36bdfdb4b0bcf53f1d443e..6513f24e4b201839291ed5b4d77e7acaf09d6abf 100644 (file)
@@ -4,6 +4,7 @@
 
 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)
@@ -28,7 +29,7 @@ include make.pre
 #
 #-----------------------------------------------------------------
 
-compile: compile.stamp
+compile: $(COMPILE_TARGET)
        # compile ist fertig
 
 zip: $(project).zip
@@ -40,7 +41,6 @@ deb: $(project).deb
 #-----------------------------------------------------------------
 # compile steps
 #-----------------------------------------------------------------
-
 compile.stamp: $(SOURCES)
        $(COMPILE)
        @touch compile.stamp
@@ -77,6 +77,6 @@ clean:
 #-----------------------------------------------------------------
 # Build-Regeln
 #-----------------------------------------------------------------
-%.pdf : %.tex
+%.pdf : %.tex $(SOURCES)
        pdflatex $<