chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
182e6e8
)
Makefile: know how to cpp things
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2014 18:15:03 +0000
(18:15 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2014 18:15:03 +0000
(18:15 +0000)
Makefile
patch
|
blob
|
history
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) $<