mkrules: Force ".pp" files to always rebuild.

These files are only built on demand for developers, and it is
a quick process.

Without this, 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>
This commit is contained in:
Jeff Epler 2025-08-14 10:22:11 -05:00
parent 744270ac1b
commit 0e87ec3c1f

View file

@ -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 $@ $<