chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Makefile: know how to cpp things
[reprap-play.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index da1772ea80f62f00ea0e940920c3f40e455042d7..a5e5278c54d9c6d643999ccf3ac443a5e1944f50 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-36,6
+36,9
@@
default:
--output $@.tmp $<
@mv -f $@.tmp $@
+%: %.cpp
+ cpp -nostdinc -P <$< >$@.tmp && mv -f $@.tmp $@
+
#%.gcode: %.stl
# $(SKEINFORGE) $<