Index: Makefile =================================================================== --- Makefile (revision 1189) +++ Makefile (revision 1190) @@ -4,6 +4,7 @@ -I../.. -I../../.. -I../../../src_3rd \ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include LDFLAGS = -lglib-2.0 +GDS= ../../../src_3rd/genvector/gds_char.o all: test @@ -10,9 +11,9 @@ test: tester_spd tester.diff @echo "*** all ok, QC PASS ***" -tester: tester.o ../../pcb-printf.o +tester: tester.o ../../pcb-printf.o $(GDS) -tester_spd: tester_spd.o ../../pcb-printf.o +tester_spd: tester_spd.o ../../pcb-printf_spd.o $(GDS) tester.o: tester.c $(CC) -c $(CFLAGS) -o $@ tester.c @@ -28,6 +29,9 @@ ../../pcb-printf.o: ../../pcb-printf.c ../../pcb-printf.h +../../pcb-printf_spd.o: ../../pcb-printf.c ../../pcb-printf.h + $(CC) -c $(CFLAGS_OP) -DSPEED $(CFLAGS) -o $@ ../../pcb-printf.c + clean: rm tester tester.o 2>/dev/null ; true