CC = cc CFLAGS = COPTIM = -O -Wall SRC = taxsolve_routines.c LIBS = # It would be nice to create a taxsolve_routines.h so the routines.c source only needs to be compiled once. # OBJS = taxsolve_routines.o OBJS = # Rule to compile objects from source #.c.o: # $(CC) -c $(CFLAGS) $*.c all: ../bin/taxsolve_US_1040_2006 \ ../bin/taxsolve_US_1040_Sched_C_2006 \ # ../bin/taxsolve_CA_540_2006 \ # ../bin/taxsolve_MA_1_2006 \ # ../bin/taxsolve_NJ_1040_2006 \ # ../bin/taxsolve_PA_40_2006 \ # ../bin/taxsolve_VA_760_2006 \ # ../bin/taxsolve_OH_IT1040_2006 \ # ../bin/taxsolve_NY_IT201_2006 \ ../bin/taxsolve_US_1040_2006: taxsolve_US_1040_2006.c $(OBJS) $(CC) $(CFLAGS) $(COPTIM) -o ../bin/taxsolve_US_1040_2006 taxsolve_US_1040_2006.c $(SRCS) $(LIBS) ../bin/taxsolve_US_1040_Sched_C_2006: taxsolve_US_1040_Sched_C_2006.c $(OBJS) $(CC) $(CFLAGS) $(COPTIM) -o ../bin/taxsolve_US_1040_Sched_C_2006 taxsolve_US_1040_Sched_C_2006.c $(SRCS) $(LIBS) clean: /bin/rm -fv ../bin/taxsolve*2006