-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 $(LIBS)
+stroke: test_stroke.c $(OBJS) ../libgfxswf.a ../librfxswf.a ../libbase.a
+ $(CC) test_stroke.c $(OBJS) ../librfxswf.a ../libgfxswf.a $(GFX) ../libbase.a -o stroke $(LIBS)
+
+SWF = ../librfxswf.a ../libpdf.a -lstdc++
+test: ../libbase.a test.c $(OBJS) poly.h convert.h $(GFX)
+ $(CC) test.c $(OBJS) $(SWF) ../libbase.a $(GFX) -o test $(LIBS)