Added .c state notatation rules.

This commit is contained in:
Janet B. Anderson
2000-10-12 15:48:55 +00:00
parent 7a970ec569
commit 1275b89bec

View File

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