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