From 3e11de6700790e90d3d7584804be533f557f86f3 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 1 Oct 2020 10:40:38 +0200 Subject: [PATCH] PSI preprocess rule --- config/RULES.Vx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/RULES.Vx b/config/RULES.Vx index 717de4bd4..fad9c8427 100644 --- a/config/RULES.Vx +++ b/config/RULES.Vx @@ -160,10 +160,12 @@ endif $(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i %.c: ../%.stt - @echo "converting $<" - ln -s $< $*.st - $(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.st - @$(RM) $*.st + @echo "preprocessing $*.stt" + @$(RM) $*.i + $(CPP) $(CPPFLAGS) $(CPPSNCFLAGS) $< > $*.i + @echo "converting $*.i" + @$(RM) $@ + $(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i # Capfast Rules: %.db: %.edf