2 # This makefile has been uglified for portability.
3 # Nothing yet works with gmake for the path to the sources.
6 PROG= pipepoll pipeselect
11 pipeselect: pipeselect.c
14 ${CC} ${CFLAGS} ${LDFLAGS} -o $@ $@.c
17 -for prog in ${PROG}; do \
18 ./$${prog} > $${prog}.out.new; \
19 diff -u1 $${prog}.out $${prog}.out.new; \
23 for prog in ${PROG}; do \
24 rm -f $${prog} $${prog}.out.new; \
28 for prog in ${PROG}; do \
29 mv $${prog}.out.new $${prog}.out; \
33 for prog in ${PROG}; do \