From 968fea5d28823b7274491ec4cca03c421ee12de4 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Sun, 8 Feb 2009 20:59:12 +0100 Subject: [PATCH] added import{.c/.h} dependencies --- lib/as3/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/as3/Makefile b/lib/as3/Makefile index 8e0036c..2920c7a 100644 --- a/lib/as3/Makefile +++ b/lib/as3/Makefile @@ -39,13 +39,14 @@ mklib.o: mklib.c parser.tab.h parser.h parser: main.o tokenizer.yy.o ../librfxswf.a ../libbase.a parser.tab.h gcc $(D) main.o ../librfxswf.a ../libbase.a -o parser -lz -mklib: mklib.o ../librfxswf.a ../libbase.a - gcc $(D) mklib.o ../librfxswf.a ../libbase.a -o mklib -lz +rfxswf_modules=../drawer.o ../rfxswf.o ../modules/*.o ../lame/*.o ../action/*.o ../MD5.o abc.o opcodes.o code.o pool.o scripts.o +mklib: mklib.o $(rfxswf_modules) ../libbase.a + gcc $(D) mklib.o $(rfxswf_modules) ../libbase.a -o mklib -lz -lm -lfreetype -ljpeg ../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 compiler.c compiler.h parser.tab.h parser.tab.c tokenizer.yy.c scripts.c +../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 scripts.c import.c import.h cd ..; make librfxswf.a ../libbase.a: ../q.c ../q.h ../mem.c ../mem.h -- 1.7.10.4