projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af7bf9
)
Makfile: add 'make pdfs' target to build PDF from .dot graph
author
Brian Norris
<banorris@uci.edu>
Tue, 5 Feb 2013 23:16:03 +0000
(15:16 -0800)
committer
Brian Norris
<banorris@uci.edu>
Wed, 6 Feb 2013 21:41:10 +0000
(13:41 -0800)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 1cc4f4baa9cb1054f34b5ba2497bb32c175aa87f..ee08b5c420656ad567e4354889f1143aa3a8e9f7 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-35,6
+35,9
@@
malloc.o: malloc.c
%.o: %.cc
$(CXX) -MMD -MF .$@.d -fPIC -c $< $(CPPFLAGS)
+%.pdf: %.dot
+ dot -Tpdf $< -o $@
+
-include $(OBJECTS:%=.%.d)
PHONY += clean
@@
-66,4
+69,7
@@
benchmarks: $(LIB_SO)
fi
$(MAKE) -C $(BENCH_DIR)
+PHONY += pdfs
+pdfs: $(patsubst %.dot,%.pdf,$(wildcard *.dot))
+
.PHONY: $(PHONY)