Rev 38 | Blame | Compare with Previous | Last modification | View Log | RSS feed
PRG=filefindSRC=$(PRG).cDIR=/var/tmp/filefind_testdata.PHONY: clean test cleantestall: test$(PRG): checkfiles.h $(SRC)@echo "INFO: Building $@ from $^"$(CC) $@.c -o $@clean:rm -f $(PRG)createtestdata:mkdir -p $(DIR)echo "bla" > $(DIR)/testfiletest: createtestdata $(PRG)./$(PRG) $(DIR) > resultsort result > result.sortfind $(DIR) > result2sort result2 > result2.sortwc *.sortdiff *.sortcleantest:rm -f result result.sortrm -f result2 result2.sortrm -rf $(DIR)