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