CFLAGS = -O2 -Wall -Wstrict-prototypes -I. -D_REENTRANT LFLAGS = -lm -lrt HFILES = parint.h all: testpi clean: rm -f *.o *.ver *.ko *.mod.c *~ realclean: rm -f *.o *.ver *.ko *.ko.cmd *.mod.c *.mod.o *.o.cmd .*.o.cmd .*.ko.cmd *~ testpi # # testpi is the driver test program # testpi: testpi.o parint_nice.o $(HFILES) $(CC) -o testpi testpi.o parint_nice.o $(LFLAGS) testpi.o: testpi.c $(HFILES) $(CC) -Wall -c $(CFLAGS) testpi.c parint_nice.o: parint_nice.c $(HFILES) $(CC) -Wall -c -I. parint_nice.c