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