Subversion Repositories svn.Prod repos

Rev

Rev 5 | Rev 34 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 33
Line -... Line 1...
-
 
1
SRC=filefind.bash
-
 
2
PRG=$(SRC)
-
 
3
DIR=/var/tmp
1
 
4
 
2
DIR = /home/arikkert
-
 
3
SRC = filefind.bash
-
 
4
 
-
 
5
test: $(SRC) 
5
test: $(PRG) 
6
	./$(SRC) $(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 filefind
-
 
15
	rm -rf result result.sort
14
	rm -f result	result.sort
16
	rm -rf result2 result2.sort
15
	rm -f result2	result2.sort