X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fexample%2FMakefile;h=a8c85eb60ee8994d669b2dc6172e4c0fa2be89c3;hp=e12c49bc756a53377349042c2f0aac6befcea2aa;hb=50f0c053c8be3ac812a8aab1143187a28f324209;hpb=74e953401e1f5b89e3fa355413f0ec92744d78c6 diff --git a/lib/example/Makefile b/lib/example/Makefile index e12c49b..a8c85eb 100644 --- a/lib/example/Makefile +++ b/lib/example/Makefile @@ -12,7 +12,7 @@ DBFLAGS = -g2 %.o: %.cc $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $< -all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape +all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape avi2swf movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape ./jpegtest @@ -26,6 +26,12 @@ movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text ./text ./makefonts +avi2swf.o: avi2swf.cc + $(CXX) -o avi2swf.o -c avi2swf.cc `avifile-config --cflags` + +avi2swf: $(RFXSWF) avi2swf.o + $(CXX) -o avi2swf avi2swf.o $(RFXSWF) $(LDLIBS) `avifile-config --libs` + box: $(RFXSWF) box.o $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)