PageRenderTime 44ms CodeModel.GetById 36ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/Makefile

http://github.com/fperrad/ooc-lua
Makefile | 40 lines | 20 code | 12 blank | 8 comment | 1 complexity | a9fadabfe94c775e2ec4c46fc2a0f1ff MD5 | raw file
 1
 2EXE := ooc-luac lexico
 3
 4all: $(EXE)
 5
 6lexico: $(wildcard source/*.ooc)
 7#	rock -g --noclean --sourcepath=source $@
 8	rock --sourcepath=source $@
 9
10ooc-luac: $(wildcard source/*.ooc)
11	rock -g --noclean --sourcepath=source -Ddebug $@
12#	rock --sourcepath=source -Ddebug $@
13
14#test:
15#	prove t/*.t
16
17CODING_STD := \
18  LineLength \
19  HardTabs \
20  TrailingSpace \
21  CuddledElse \
22  CamelCase \
23  Parentheses \
24
25
26#export OOC_LINE_LENGTH=100
27
28codingstd: ../ooc-codingstd
29	prove --exec="rock -r --sourcepath=../ooc-codingstd/source" $(CODING_STD)
30
31../ooc-codingstd:
32	cd .. && git clone git://github.com/fperrad/ooc-codingstd.git
33
34#README.html: README.md
35#	Markdown.pl README.md > README.html
36
37clean:
38	rm -rf *_tmp/ .libs/
39	rm -f $(CODING_STD) $(EXE)
40#	rm -f README.html