From 1275b89bec41b4a4db62b21b73e68763da61331a Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 12 Oct 2000 15:48:55 +0000 Subject: [PATCH] Added .c state notatation rules. --- configure/RULES_BUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configure/RULES_BUILD b/configure/RULES_BUILD index e9943aef8..4cd295d9f 100644 --- a/configure/RULES_BUILD +++ b/configure/RULES_BUILD @@ -228,6 +228,20 @@ endif $(MV) lex.yy.c $@ #state notation language rule +%.c: ../%.st + @echo "preprocessing $*.st" + @$(RM) $*.i + $(CPP) $(CPPSNCFLAGS) $< > $*.i + @echo "converting $*.i" + @$(RM) $@ + $(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i -o $@ + +%.c: %.stt + @echo "converting $< + ln -s $< $*.st + $(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.st -o $@ + @$(RM) $*.st + %.cpp: ../%.st @echo "preprocessing $*.st" @$(RM) $*.i