Subversion Repositories svn.Prod repos

Rev

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

Rev 2 Rev 33
Line -... Line 1...
-
 
1
SRC=filefind.rb
-
 
2
PRG=$(SRC)
-
 
3
DIR=/var/tmp
1
 
4
 
2
DIR = /home/arikkert
-
 
3
 
-
 
4
test: filefind.rb
5
test: $(PRG)
5
	./filefind.rb $(DIR) > result
6
	./$(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