From: Ian Jackson Date: Sat, 15 Feb 2014 18:15:03 +0000 (+0000) Subject: Makefile: know how to cpp things X-Git-Tag: filamentspool-v2-release~443 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=382b1f42ea067bfa5ea594bc2a971057b5105ad4 Makefile: know how to cpp things --- diff --git a/Makefile b/Makefile index da1772e..a5e5278 100644 --- 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) $<