git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
started rewriting polygon conversion functions
[swftools.git]
/
lib
/
gfxpoly
/
Makefile
diff --git
a/lib/gfxpoly/Makefile
b/lib/gfxpoly/Makefile
index
326c8c6
..
3af0dda
100644
(file)
--- a/
lib/gfxpoly/Makefile
+++ b/
lib/gfxpoly/Makefile
@@
-1,6
+1,8
@@
all: test
all: test
+include ../../Makefile.common
CC = gcc -g -O2
CC = gcc -g -O2
+#CC = gcc -O3
../libbase.a: ../q.c ../q.h ../mem.c ../mem.h
cd ..; make libbase.a
../libbase.a: ../q.c ../q.h ../mem.c ../mem.h
cd ..; make libbase.a
@@
-31,9
+33,9
@@
renderpoly.o: renderpoly.c wind.h poly.h renderpoly.h
xrow.o: xrow.c xrow.h ../q.h ../mem.h
$(CC) -c xrow.c -o xrow.o
xrow.o: xrow.c xrow.h ../q.h ../mem.h
$(CC) -c xrow.c -o xrow.o
-SWF = ../librfxswf.a ../libpdf.a ../libgfx.a -lstdc++ -lfontconfig
+SWF = ../librfxswf.a ../libpdf.a ../libgfx.a -lstdc++
test: ../libbase.a ../libgfx.a test.c $(OBJS) poly.h convert.h
test: ../libbase.a ../libgfx.a test.c $(OBJS) poly.h convert.h
- $(CC) test.c $(OBJS) $(SWF) ../libbase.a ../libgfx.a -o test -lm -lz -ljpeg -lfreetype
+ $(CC) test.c $(OBJS) $(SWF) ../libbase.a ../libgfx.a -o test $(LIBS)
clean:
rm -f *.o test
clean:
rm -f *.o test