X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2FMakefile;fp=lib%2Fgfxpoly%2FMakefile;h=65eca034b15bdafb36f7f6cedeac9f2b16e243ff;hp=4e182f7c01976cfd57f69ac7aaf31a2bffeb4351;hb=9adb1e34457799c1ceae768241e3eb8615e4e09d;hpb=50c888f9b496d8c48084193aa1c0dcb8ad1c935b diff --git a/lib/gfxpoly/Makefile b/lib/gfxpoly/Makefile index 4e182f7..65eca03 100644 --- a/lib/gfxpoly/Makefile +++ b/lib/gfxpoly/Makefile @@ -1,8 +1,8 @@ -all: test stroke +all: test speedtest stroke include ../../Makefile.common -CC = gcc -O2 -g -pg -#CC = gcc -O3 +CC = gcc -DDEBUG -DCHECKS -O2 -g -pg +CCO = gcc -O2 -fno-inline -g -pg ../libbase.a: ../q.c ../q.h ../mem.c ../mem.h cd ..; make libbase.a @@ -13,6 +13,7 @@ CC = gcc -O2 -g -pg testheap: ../libbase.a testheap.c $(CC) testheap.c ../libbase.a -o testheap -lm -lz -ljpeg +SRC = active.c convert.c poly.c wind.c renderpoly.c xrow.c stroke.c OBJS = active.o convert.o poly.o wind.o renderpoly.o xrow.o stroke.o active.o: active.c active.h poly.h @@ -44,5 +45,8 @@ SWF = ../librfxswf.a ../libgfxpdf.a -lstdc++ test: ../libbase.a test.c $(OBJS) poly.h convert.h $(GFX) $(CC) test.c $(OBJS) $(SWF) $(GFX) ../libbase.a -o test $(LIBS) +speedtest: ../libbase.a speedtest.c $(SRC) poly.h convert.h $(GFX) + $(CCO) speedtest.c $(SRC) $(GFX) ../libbase.a -o speedtest $(LIBS) + clean: rm -f *.o test stroke