1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
CFLAGS += -Wall -O2 LDFLAGS += -lpthread all: ptsematest @echo Done ptsematest.o: ptsematest.c ptsematest: clean: @rm -f *.o tar: clean @rm -f ptsematest $(shell bn=`basename $$PWD`; cd ..; tar -zcf $$bn.tgz $$bn)