equal
deleted
inserted
replaced
1 |
1 |
2 FILES = mongrel2.nim |
2 FILES = src/mongrel2.nim |
3 |
3 |
4 default: development |
4 default: development |
5 |
5 |
6 debug: ${FILES} |
6 debug: ${FILES} |
7 nim --assertions:on --nimcache:.cache c ${FILES} |
7 nim --assertions:on --nimcache:.cache c ${FILES} |
|
8 @mv src/mongrel2 . |
8 |
9 |
9 development: ${FILES} |
10 development: ${FILES} |
10 # can use gdb with this... |
11 # can use gdb with this... |
11 nim -r --debugInfo --linedir:on --define:testing --nimcache:.cache c ${FILES} |
12 nim -r --debugInfo --linedir:on --define:testing --nimcache:.cache c ${FILES} |
|
13 @mv src/mongrel2 . |
12 |
14 |
13 debugger: ${FILES} |
15 debugger: ${FILES} |
14 nim --debugger:on --nimcache:.cache c ${FILES} |
16 nim --debugger:on --nimcache:.cache c ${FILES} |
|
17 @mv src/mongrel2 . |
15 |
18 |
16 release: ${FILES} |
19 release: ${FILES} |
17 nim -d:release --opt:speed --nimcache:.cache c ${FILES} |
20 nim -d:release --opt:speed --nimcache:.cache c ${FILES} |
|
21 @mv src/mongrel2 . |
18 |
22 |
19 docs: |
23 docs: |
20 nim doc ${FILES} |
24 nim doc ${FILES} |
21 #nim buildIndex ${FILES} |
25 #nim buildIndex ${FILES} |
22 |
26 |