Mercurial > games > semicongine
annotate Makefile @ 1:bb2a7d3a7003
add: more steps in setup
| author | Sam <sam@basx.dev> |
|---|---|
| date | Fri, 16 Dec 2022 00:05:41 +0700 |
| parents | 5daf3f236d87 |
| children | 213fdf8d31dd |
| rev | line source |
|---|---|
| 0 | 1 SOURCES := $(shell find src -name '*.nim') |
| 2 | |
| 3 build/debug/linux: | |
| 4 mkdir -p $@ | |
| 5 build/debug/linux/test: build/debug/linux ${SOURCES} | |
| 1 | 6 nim c -o:$@ --gc:orc --debugger:native --checks:on --assertions:on src/test.nim |
| 0 | 7 |
| 8 build/release/linux: | |
| 9 mkdir -p $@ | |
| 10 build/release/linux/test: build/release/linux ${SOURCES} | |
| 1 | 11 nim c -d:release --gc:orc -o:$@ --checks:off --assertions:off src/test.nim |
