2 include ../../Makefile.common
7 ../libbase.a: ../q.c ../q.h ../mem.c ../mem.h
10 ../libgfx.a: ../gfxtools.h ../gfxtools.c ../gfxpoly.h ../gfxpoly.c
13 testheap: ../libbase.a testheap.c
14 $(CC) testheap.c ../libbase.a -o testheap -lm -lz -ljpeg
16 OBJS = active.o convert.o poly.o wind.o renderpoly.o xrow.o stroke.o
18 active.o: active.c active.h poly.h
19 $(CC) -c active.c -o active.o
21 convert.o: convert.c convert.h poly.h
22 $(CC) -c convert.c -o convert.o
24 poly.o: poly.c poly.h active.h heap.h ../q.h
25 $(CC) -c poly.c -o poly.o
27 wind.o: wind.c wind.h poly.h
28 $(CC) -c wind.c -o wind.o
30 renderpoly.o: renderpoly.c wind.h poly.h renderpoly.h
31 $(CC) -c renderpoly.c -o renderpoly.o
33 xrow.o: xrow.c xrow.h ../q.h ../mem.h
34 $(CC) -c xrow.c -o xrow.o
36 stroke.o: stroke.c poly.h convert.h wind.h
37 $(CC) -c stroke.c -o stroke.o
39 GFX=../gfxfont.o ../gfxtools.o ../gfximage.o ../devices/ops.o ../devices/polyops.o ../devices/text.o ../devices/bbox.o ../devices/render.o ../devices/rescale.o ../devices/record.o
40 stroke: test_stroke.c $(OBJS) ../libgfxswf.a ../librfxswf.a ../libbase.a
41 $(CC) test_stroke.c $(OBJS) ../libgfxswf.a ../librfxswf.a $(GFX) ../libbase.a -o stroke $(LIBS)
43 SWF = ../librfxswf.a ../libgfxpdf.a -lstdc++
44 test: ../libbase.a test.c $(OBJS) poly.h convert.h $(GFX)
45 $(CC) test.c $(OBJS) $(SWF) $(GFX) ../libbase.a -o test $(LIBS)