X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgfxpoly%2FMakefile;h=3af0dda7661648a20112784c3db51799cd96bb8e;hb=fec1ab31707e68c2396b186e0e4928632402d649;hp=8469965d669cc04577275320b76956c6cf12a1f6;hpb=64cbdc0d10e611af20d4d375ff6319793da8e6f5;p=swftools.git diff --git a/lib/gfxpoly/Makefile b/lib/gfxpoly/Makefile index 8469965..3af0dda 100644 --- a/lib/gfxpoly/Makefile +++ b/lib/gfxpoly/Makefile @@ -1,6 +1,8 @@ -all: testheap test +all: test +include ../../Makefile.common CC = gcc -g -O2 +#CC = gcc -O3 ../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 -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 - $(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