From 395bf7b97ef8be898e507b90f0658eb290d58b02 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 30 May 2001 23:35:55 +0000 Subject: [PATCH] Changed bison.y and token.l build rule. Added bison.y and token.l to "clean" target. svn path=/trunk/yasm/; revision=48 --- Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index d248c49e..288529b7 100644 --- 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