Skip to content

Commit b6cd577

Browse files
jeplerdpgeorge
authored andcommitted
py/mkrules.mk: Force ".pp" files to always rebuild.
These files are only built on demand for developers, and it is a quick process. Without FORCE, a sequence like this would leave the developer with an outdated `main.pp` to inspect: make build-standard/main.pp touch input.h make build-standard/main.pp # Rebuilds now, wouldn't have before Signed-off-by: Jeff Epler <jepler@gmail.com>
1 parent 1671977 commit b6cd577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/mkrules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ vpath %.cpp . $(TOP) $(USER_C_MODULES)
104104
$(BUILD)/%.o: %.cpp
105105
$(call compile_cxx)
106106

107-
$(BUILD)/%.pp: %.c
107+
$(BUILD)/%.pp: %.c FORCE
108108
$(ECHO) "PreProcess $<"
109109
$(Q)$(CPP) $(CFLAGS) -Wp,-C,-dD,-dI -o $@ $<
110110

0 commit comments

Comments
 (0)