]> rtime.felk.cvut.cz Git - boost-statechart-viewer.git/blobdiff - examples/Makefile
Fixes for clang 3.4
[boost-statechart-viewer.git] / examples / Makefile
index d71a9ac9e4d74e649318216cf82238163dc00352..3bca1100c965ca483dc7f1da25ea46121f98007c 100644 (file)
@@ -1,7 +1,15 @@
 -include ../Makefile.config
 
-.PHONY: all
-all: test.pdf StopWatch.pdf main.pdf Camera/Main.pdf Keyboard.pdf
+LLVM_CONFIG ?= llvm-config
+
+.PHONY: all clean
+
+PDF = test.pdf StopWatch.pdf main.pdf Camera/Main.pdf Keyboard.pdf
+
+all: $(PDF)
+
+clean:
+       rm -f $(PDF)
 
 CLANG++ ?= $(shell $(LLVM_CONFIG) --bindir)/clang++
 ifeq ($(wildcard $(CLANG++)),)