Rev 33 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
PROGRAM=filefind
SOURCE=$(PROGRAM).go
$(PROGRAM): $(SOURCE)
go build $(SOURCE)
run: $(PROGRAM)
./$(PROGRAM) .
clean:
rm $(PROGRAM)
DIR = /var/tmp
test: $(SOURCE)
./$(PROGRAM) $(DIR) > result
sort result > result.sort
find $(DIR) > result2
sort result2 > result2.sort
wc *.sort
diff *.sort
cleantest:
rm result result.sort result2 result2.sort