X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxpoly%2FMakefile;h=326c8c6dd29283b26720857401e3457ea8b23417;hb=33e9461da6b886671749d6cbabd80b355ab1f6d9;hp=35e2039faea37ed60aa5c576a114b4a7acd539d0;hpb=002f2ed7c404339e11d669aa86ec998d8dd473a5;p=swftools.git diff --git a/lib/gfxpoly/Makefile b/lib/gfxpoly/Makefile index 35e2039..326c8c6 100644 --- a/lib/gfxpoly/Makefile +++ b/lib/gfxpoly/Makefile @@ -1,6 +1,6 @@ -all: testheap test +all: test -CC = gcc -g -pg +CC = gcc -g -O2 ../libbase.a: ../q.c ../q.h ../mem.c ../mem.h cd ..; make libbase.a @@ -31,7 +31,7 @@ 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 -SWF = ../librfxswf.a +SWF = ../librfxswf.a ../libpdf.a ../libgfx.a -lstdc++ -lfontconfig 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