]> granicus.if.org Git - yasm/commitdiff
Changed bison.y and token.l build rule.
authorPeter Johnson <peter@tortall.net>
Wed, 30 May 2001 23:35:55 +0000 (23:35 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 30 May 2001 23:35:55 +0000 (23:35 -0000)
Added bison.y and token.l to "clean" target.

svn path=/trunk/yasm/; revision=48

Makefile

index d248c49e8392b09b288fb3e2fa6248282b39c009..288529b7998fe8d5e98b9ba50b43962fa23f532c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.4 2001/05/21 21:43:47 mu Exp $
+# $Id: Makefile,v 1.5 2001/05/30 23:35:55 peter Exp $
 # Makefile
 #
 #    Copyright (C) 2001  Peter Johnson
@@ -53,12 +53,7 @@ src/bison.tab.c: src/bison.y
 src/lex.yy.c: src/token.l
        flex -o$@ $<
 
-src/bison.y: src/instrs.dat src/token.l.in src/bison.y.in src/gen_instr.pl
-       $(MAKE) gen_instrs
-src/token.l: src/instrs.dat src/token.l.in src/bison.y.in src/gen_instr.pl
-       $(MAKE) gen_instrs
-
-gen_instrs:
+src/bison.y src/token.l: src/instrs.dat src/token.l.in src/bison.y.in src/gen_instr.pl
        src/gen_instr.pl -i src/instrs.dat -t src/token.l -g src/bison.y
 
 clean:
@@ -66,4 +61,5 @@ clean:
        rm -f src/bison.tab.c
        rm -f include/bison.tab.h
        rm -f src/lex.yy.c
+       rm -f src/bison.y src/token.l