X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fexample%2FMakefile;h=a8c85eb60ee8994d669b2dc6172e4c0fa2be89c3;hb=41928ecbe79aabb7bdef15078f3dd900a4fd9557;hp=896d783539f1576bad9ef672fd003be2e11c444d;hpb=f02681d9b6f222ad16e3b97096c82b40e9813a7d;p=swftools.git diff --git a/lib/example/Makefile b/lib/example/Makefile index 896d783..a8c85eb 100644 --- a/lib/example/Makefile +++ b/lib/example/Makefile @@ -12,11 +12,12 @@ DBFLAGS = -g2 %.o: %.cc $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $< -all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts +all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape avi2swf -movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text +movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape ./jpegtest ./box + ./glyphshape ./shape1 ./transtest ./zlibtest @@ -25,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) @@ -34,6 +41,9 @@ buttontest: $(RFXSWF) buttontest.o dumpfont: $(RFXSWF) dumpfont.o $(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) +glyphshape: $(RFXSWF) glyphshape.o + $(CC) -o glyphshape glyphshape.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) + jpegtest: $(RFXSWF) jpegtest.o $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) @@ -58,9 +68,10 @@ makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS) clean: - rm -f jpegtest.o box.o shape1.o transtest.o zlibtest.o sprites.o\ + rm -f jpegtest.o box.o shape1.o transtest.o zlibtest.o \ + sprites.o glyphshape.o \ buttontest.o dumpfont.o text.o makefonts.o\ jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \ - sprites.swf buttontest.swf text.swf + sprites.swf buttontest.swf text.swf glyphshape.swf