fixed graphics bug
[swftools.git] / avi2swf / Makefile.in
index cc26e32..438a421 100644 (file)
@@ -8,8 +8,12 @@ all: avi2swf
 avi2swf.o: avi2swf.cc
        $(CC) `avifile-config --cflags` $< -o $@
 
-avi2swf: avi2swf.o
-       $(LL) avi2swf.o -o avi2swf ../lib/librfxswf.a $(LIBS) `avifile-config --libs`
+v2swf.o: v2swf.c ../lib/q.h
+       $(C) $< -o $@
+
+avi2swf: avi2swf.o v2swf.o ../lib/q.o
+       $(LL) avi2swf.o v2swf.o ../lib/q.o -o avi2swf ../lib/librfxswf.a $(LIBS) `avifile-config --libs`
+       $(STRIP) avi2swf
 
 install:
        $(mkinstalldirs) $(bindir)
@@ -20,5 +24,5 @@ uninstall:
        @file=avi2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1)
 
 clean: 
-       rm -f *.o *.lo *.a *.la avi2swf
+       rm -f *.o *.lo *.a *.la avi2swf gmon.out