From: William D. <wdo...@us...> - 2005-03-18 22:01:04
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16360 Modified Files: Makefile Log Message: Move default rules not needed in this directory down to Makefile in examples directory; skel is a dependency of flexml-act.l Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- Makefile 24 Feb 2005 17:26:18 -0000 1.35 +++ Makefile 18 Mar 2005 22:00:55 -0000 1.36 @@ -86,29 +86,6 @@ test:: all @echo "Testing..." -# DEFAULT RULES. - -# Generate C source from flex scanner. -%.c: %.l - $(FLEX) -B -s -v $(FLEXDEBUG) -o$@ $< - -# Direct generation of stand-alone XML processor+application. -# Note: The dependency must be of the form "appl.l: appl.act proc.dtd". -%.l: %.act - ./flexml.pl $(FLEXDEBUG) -vA -a $^ - -# Generate XML processor to link with application. -%.l %.h: %.dtd - ./flexml.pl $(FLEXDEBUG) -v -s skel $< - -# Generate XML application C source to compile and link with processor. -# Note: The dependency must be of the form "appl.c: appl.act proc.dtd". -%.c: %.act - ./flexml.pl $(FLEXDEBUG) -vD -a $^ - - -# MAIN PROGRAM. - clean::; $(RM) $(FLEXML) $(FLEXML_ACT) flexml-act flexml-act.c $(FLEXML): flexml.pl @@ -125,7 +102,7 @@ endif # Action language... -flexml-act.l: flexml-act.dtd +flexml-act.l: flexml-act.dtd skel $(PERL) ./flexml.pl $(FLEXDEBUG) -Lv -ractions -s skel $< flexml-act.c: flexml-act.l |