moved extern declaration up to prevent compile-time errors.
[swftools.git] / avi2swf / Makefile.in
index cc26e32..6c27494 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)