diff options
| author | gingerBill <bill@gingerbill.org> | 2019-01-13 11:19:01 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-01-13 11:19:01 +0000 |
| commit | d9245a6af31a708e9c475e55ac9ffa1b212487ee (patch) | |
| tree | 73a89e086b2a35e43a095cef87ca574dba04baa6 /Makefile | |
| parent | d453b9a5b126584464ca09a2529ad7d72251f7f4 (diff) | |
Update Makefile to reflect build.sh
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -DISABLED_WARNINGS=-Wno-switch -Wno-writable-strings -Wno-tautological-compare -Wno-macro-redefined #-Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare +DISABLED_WARNINGS=-Wno-switch -Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare -Wno-macro-redefined -Wno-writable-strings LDFLAGS=-pthread -ldl -lm -lstdc++ CFLAGS=-std=c++11 CC=clang @@ -12,13 +12,13 @@ endif all: debug demo demo: - ./odin run examples/demo + ./odin run examples/demo/demo.odin debug: $(CC) src/main.cpp $(DISABLED_WARNINGS) $(CFLAGS) -g $(LDFLAGS) -o odin release: $(CC) src/main.cpp $(DISABLED_WARNINGS) $(CFLAGS) -O3 -march=native $(LDFLAGS) -o odin - - + + |