renamed rate to samplerate.
[swftools.git] / avi2swf / Makefile.in
index cc26e32..dc7ff4a 100644 (file)
@@ -5,11 +5,18 @@ include ../Makefile.common
 
 all: avi2swf
 
-avi2swf.o: avi2swf.cc
+videoreader_avifile.o: videoreader_avifile.cc
        $(CC) `avifile-config --cflags` $< -o $@
 
-avi2swf: avi2swf.o
-       $(LL) avi2swf.o -o avi2swf ../lib/librfxswf.a $(LIBS) `avifile-config --libs`
+avi2swf.o: avi2swf.cc
+       $(CC) $< -o $@
+
+v2swf.o: v2swf.c ../lib/q.h
+       $(C) $< -o $@
+
+avi2swf: avi2swf.o v2swf.o videoreader_avifile.o ../lib/q.o
+       $(LL) avi2swf.o v2swf.o videoreader_avifile.o ../lib/q.o -o avi2swf ../lib/librfxswf.a $(LIBS) `avifile-config --libs`
+       $(STRIP) avi2swf
 
 install:
        $(mkinstalldirs) $(bindir)
@@ -20,5 +27,9 @@ uninstall:
        @file=avi2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1)
 
 clean: 
-       rm -f *.o *.lo *.a *.la avi2swf
+       rm -f *.o *.lo *.a *.la avi2swf gmon.out
+
+doc:
+       perl ../parsedoc.pl avi2swf.doc
 
+.PHONY: all doc clean install uninstall