git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added distclean, .PHONY.
[swftools.git]
/
lib
/
example
/
Makefile
diff --git
a/lib/example/Makefile
b/lib/example/Makefile
index
5bf18f0
..
ba464ad
100644
(file)
--- a/
lib/example/Makefile
+++ b/
lib/example/Makefile
@@
-11,22
+11,13
@@
DBFLAGS = -g2
$(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
%.o: %.cc
$(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
$(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
-
-movies: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape
- ./sound
- ./jpegtest
- ./box
- ./glyphshape
- ./shape1
- ./transtest
- ./zlibtest
- ./sprites
- ./buttontest
- ./text
- ./makefonts
+all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext
+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)
sound: $(RFXSWF) sound.o
$(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
@@
-57,20
+48,18
@@
transtest: $(RFXSWF) transtest.o
text: $(RFXSWF) text.o
$(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
text: $(RFXSWF) text.o
$(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
+edittext: $(RFXSWF) edittext.o
+ $(CC) -o edittext edittext.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
+
zlibtest: $(RFXSWF) zlibtest.o
$(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
zlibtest: $(RFXSWF) zlibtest.o
$(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
-makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o
- $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o \
- ../../pdf2swf/spline.o ../../pdf2swf/encodings.o ../librfxswf.a -lt1 $(LDLIBS) \
- ../../pdf2swf/xpdf/libpdf.a $(DBFLAGS)
-
clean:
rm -f jpegtest.o box.o shape1.o transtest.o 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
sprites.swf buttontest.swf text.swf glyphshape.swf sound.swf \
transtest.swf
-
+.SUFFIXES: