git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
813db21
)
added makefonts utility
author
kramm
<kramm>
Sat, 10 Nov 2001 16:24:27 +0000
(16:24 +0000)
committer
kramm
<kramm>
Sat, 10 Nov 2001 16:24:27 +0000
(16:24 +0000)
lib/example/Makefile
patch
|
blob
|
history
diff --git
a/lib/example/Makefile
b/lib/example/Makefile
index
085b352
..
fedcc25
100644
(file)
--- a/
lib/example/Makefile
+++ b/
lib/example/Makefile
@@
-4,12
+4,15
@@
RFXSWF = ../rfxswf.o
LDLIBS = -ljpeg -lm -lz
CFLAGS = -funsigned-char
CC = gcc
LDLIBS = -ljpeg -lm -lz
CFLAGS = -funsigned-char
CC = gcc
+CXX = g++
DBFLAGS = -g2
DBFLAGS = -g2
-.c.o:
+%.o: %.c
$(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
$(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
+%.o: %.cc
+ $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
-all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
+all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts
movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
./jpegtest
movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
./jpegtest
@@
-20,6
+23,7
@@
movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
./sprites
./buttontest
./text
./sprites
./buttontest
./text
+ ./makefonts
box: $(RFXSWF) box.o
$(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
box: $(RFXSWF) box.o
$(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
@@
-48,6
+52,9
@@
text: $(RFXSWF) text.o
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 ../rfxswf.o ../log.o -lt1 -ljpeg -lz ../../pdf2swf/xpdf/libpdf.a
+
clean:
rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o sprites.o\
buttontest.o dumpfont.o text.o\
clean:
rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o sprites.o\
buttontest.o dumpfont.o text.o\