From: kramm Date: Tue, 6 Jan 2009 21:30:55 +0000 (+0000) Subject: the tokenizer/parser/compiler files are now compiled by ../Makefile X-Git-Tag: release-0-9-0~399 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=ea89c4e4dfcb6d64957e6c2282a9b95fd84d67c9;hp=126445b54477c7d171a3d934480193d5ce09c03f;p=swftools.git the tokenizer/parser/compiler files are now compiled by ../Makefile --- diff --git a/lib/as3/Makefile b/lib/as3/Makefile index 39559e5..62cd1f1 100644 --- a/lib/as3/Makefile +++ b/lib/as3/Makefile @@ -3,30 +3,33 @@ tests: testwrite testrewrite testpaths testreadwrite D=-g -pg -abc.o: abc.c abc.h ../q.h pool.h - gcc $(D) -c abc.c -o abc.o - -pool.o: pool.c pool.h - gcc $(D) -c pool.c -o pool.o - -files.o: files.h files.c - gcc $(D) -c files.c -o files.o - -registry.o: registry.h registry.c - gcc $(D) -c registry.c -o registry.o - -tokenizer.yy.c: tokenizer.lex Makefile tokenizer.h +#compiled by ../Makefile (into librfxswf.a) +# +#abc.o: abc.c abc.h ../q.h pool.h +# gcc $(D) -c abc.c -o abc.o +# +#pool.o: pool.c pool.h +# gcc $(D) -c pool.c -o pool.o +# +#files.o: files.h files.c +# gcc $(D) -c files.c -o files.o +# +#registry.o: registry.h registry.c +# gcc $(D) -c registry.c -o registry.o +# +#tokenizer.yy.o: tokenizer.yy.c tokenizer.h parser.tab.h +# gcc $(D) -c tokenizer.yy.c -o tokenizer.yy.o +# +#parser.tab.o: parser.tab.c parser.tab.h parser.h +# gcc $(D) -c parser.tab.c -o parser.tab.o + + +tokenizer.yy.h tokenizer.yy.c: tokenizer.lex Makefile tokenizer.h flex -Pavm2_ -8 -B -otokenizer.yy.c tokenizer.lex -tokenizer.yy.o: tokenizer.yy.c tokenizer.h parser.tab.h - gcc $(D) -c tokenizer.yy.c -o tokenizer.yy.o - parser.tab.h parser.tab.c: parser.y parser.h bison -v --defines -pavm2_ parser.y -o parser.tab.c -parser.tab.o: parser.tab.c parser.tab.h parser.h - gcc $(D) -c parser.tab.c -o parser.tab.o - main.o: main.c parser.tab.h parser.h gcc $(D) -c main.c -o main.o @@ -42,7 +45,7 @@ mklib: mklib.o files.o ../libbase.a ../q.o: ../q.c ../q.h ../mem.h cd ..; make q.o; cd - -../librfxswf.a: ../rfxswf.h ../rfxswf.c abc.c abc.h pool.c pool.h files.c files.h code.c code.h registry.c registry.h opcodes.c opcodes.h builtin.c builtin.h +../librfxswf.a: ../rfxswf.h ../rfxswf.c abc.c abc.h pool.c pool.h files.c files.h code.c code.h registry.c registry.h opcodes.c opcodes.h builtin.c builtin.h compiler.c compiler.h parser.tab.h parser.tab.c tokenizer.yy.c tokenizer.yy.h cd ..; make librfxswf.a ../libbase.a: ../q.c ../q.h ../mem.c ../mem.h