Rev 13 | Rev 34 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 33 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | SRC=filefind.pl |
|
- | 2 | PRG=$(SRC) |
|
- | 3 | DIR=/var/tmp |
|
1 | 4 | ||
2 | DIR = /home/arikkert |
- | |
3 | PROG = filefind.pl |
- | |
4 | - | ||
5 | test: $(PROG) |
5 | test: $(PRG) |
6 | ./$(PROG) $(DIR) > result |
6 | ./$(PRG) $(DIR) > result |
7 | sort result > result.sort |
7 | sort result > result.sort |
8 | find $(DIR) > result2 |
8 | find $(DIR) > result2 |
9 | sort result2 > result2.sort |
9 | sort result2 > result2.sort |
10 | wc *.sort |
10 | wc *.sort |
11 | diff *.sort |
11 | diff *.sort |
12 | 12 | ||
13 | clean: |
13 | cleantest: |
14 | rm -f result result.sort |
14 | rm -f result result.sort |
15 | rm -f result2 result2.sort |
15 | rm -f result2 result2.sort |