%.$(way_)hi : %.$(way_)o
@if [ ! -f $@ ] ; then \
- echo Panic! $< exists, but $@ does not. \
+ echo Panic! $< exists, but $@ does not.; \
exit 1; \
else exit 0 ; \
fi
%.$(way_)hi : %.$(way_)hc
@if [ ! -f $@ ] ; then \
- echo Panic! $< exists, but $@ does not. \
+ echo Panic! $< exists, but $@ does not.; \
exit 1; \
else exit 0 ; \
fi
%.$(way_)o : %.$(way_)rc
@$(RM) $@
windres $< $@
+
+#-----------------------------------------------------------------------------
+# Preprocessor suffix rule
+
+% : %.pp
+ rm -f $@
+ $(CPP) $(CPP_OPTS) -x c $< | $(SED) -e '/^#/d' > $@