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