diff options
author | Jeff Epler <jepler@gmail.com> | 2025-08-14 10:22:11 -0500 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-28 23:09:32 +1000 |
commit | b6cd577cf6ea1de28092a7abe58613c66debd412 (patch) | |
tree | 60dbbbd8c658d82de2673e1ee4cc1e37d50ccf51 | |
parent | 1671977ca4be609679db36abc5594f1d76a71e23 (diff) |
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>
-rw-r--r-- | py/mkrules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk index 3120066fd..6993a13a4 100644 --- a/py/mkrules.mk +++ b/py/mkrules.mk @@ -104,7 +104,7 @@ vpath %.cpp . $(TOP) $(USER_C_MODULES) $(BUILD)/%.o: %.cpp $(call compile_cxx) -$(BUILD)/%.pp: %.c +$(BUILD)/%.pp: %.c FORCE $(ECHO) "PreProcess $<" $(Q)$(CPP) $(CFLAGS) -Wp,-C,-dD,-dI -o $@ $< |