all: graph NOPR = --no-print-directory T_TEST1 = '' T_TEST2 = '' graph : graph.c gcc -O2 -DDEBUG -o graph graph.c test : test1 test2 test1 : graph ./graph < /dev/null 2> /dev/null ${T_TEST} test2 : graph ./graph < S3 2> /dev/null | diff - S3.out ${T_TEST} t_test : t_test1 t_test2 t_test1 : graph rm -f res.test1 ${MAKE} T_TEST='&& echo ok > res.test1' ${NOPR} test1 t_test2 : graph rm -f res.test2 ${MAKE} T_TEST='&& echo ok > res.test2' ${NOPR} test2 install : graph cp graph ../../bin/ws-graph chmod 755 ../../bin/ws-graph testxx : db_dump ../../data/signatures | graph clean: rm -f graph res.test1 res.test2