X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fexample%2FMakefile;h=1955ab8b8e57db7ae0f7fecc843a01e4fc2e4451;hp=b369c3964d0ac9488c6f75ca54d383ffc4189d67;hb=b0a6c2bc243ef9186ca87db478f502df073c4ba3;hpb=71a7c4579c42ecf077bccc078175650e4d9c7423 diff --git a/lib/example/Makefile b/lib/example/Makefile index b369c39..1955ab8 100644 --- a/lib/example/Makefile +++ b/lib/example/Makefile @@ -1,7 +1,7 @@ # Makefile RFXSWF = ../librfxswf.a -LDLIBS = -L/usr/X11R6/lib -ljpeg -lm -lz -lX11 +LDLIBS = -L/usr/X11R6/lib -ljpeg -lm -lz -lX11 -lfreetype -lt1 #CFLAGS = -funsigned-char CC = gcc CXX = g++ @@ -11,29 +11,23 @@ DBFLAGS = -g2 $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $< %.o: %.cc $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $< +%.swf: % + ./$< -all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts glyphshape edittext - -movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext - ./sound - ./jpegtest - ./box - ./glyphshape - ./shape1 - ./transtest - ./zlibtest - ./sprites - ./buttontest - ./text - ./makefonts - ./edittext +all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext protect +movies: sound.swf jpegtest.swf box.swf shape1.swf transtest.swf zlibtest.swf sprites.swf buttontest.swf dumpfont.swf text.swf glyphshape.swf edittext.swf + sound: $(RFXSWF) sound.o $(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) box: $(RFXSWF) box.o $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) +protect: $(RFXSWF) protect.o + $(CC) -o protect protect.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) + +buttontest: $(RFXSWF) buttontest.o buttontest: $(RFXSWF) buttontest.o $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) @@ -66,10 +60,10 @@ zlibtest: $(RFXSWF) zlibtest.o clean: 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.o glyphshape.o edittext.o \ + buttontest.o dumpfont.o text.o \ + jpegtest.swf box.swf shape1.swf transtest.swf zlibtest.swf \ sprites.swf buttontest.swf text.swf glyphshape.swf sound.swf \ transtest.swf - +.SUFFIXES: