Subversion Repositories svn.Prod repos

Rev

Rev 39 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
40 - 1
SRC=filefind.exs
2
PRG=$(SRC)
3
DIR=/var/tmp
4
.PHONY: all test cleantest
39 - 5
 
40 - 6
all: test
7
 
8
# nog uitzoeken hoe je compilieert
9
# zonder execute
10
build:
11
	elixirc $(SRC)
12
 
13
test:
14
	#LC_ALL=en_US.UTF-8 elixir $(PRG) $(DIR)
15
	./$(PRG) $(DIR) > result
16
	sort result     > result.sort
17
	find $(DIR)     > result2
18
	sort result2    > result2.sort
19
	wc *.sort
20
	diff *.sort
21
 
22
clean:
23
	rm -f *.beam
24
 
25
cleantest:
26
	rm -f result	result.sort
27
	rm -f result2	result2.sort