#-----------------------------------------------------------------------------
# Preprocessor suffix rule
+# Note use of -P option to prevent #line pragmas being left in the CPP
+# output.
+
% : %.pp
@$(RM) $@
- $(CPP) $(RAWCPP_FLAGS) $(CPP_OPTS) -x c $< | $(SED) -e '/^#/d' > $@
+ $(CPP) $(RAWCPP_FLAGS) -P $(CPP_OPTS) -x c $< > $@