aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-01-13 11:19:01 +0000
committergingerBill <bill@gingerbill.org>2019-01-13 11:19:01 +0000
commitd9245a6af31a708e9c475e55ac9ffa1b212487ee (patch)
tree73a89e086b2a35e43a095cef87ca574dba04baa6 /Makefile
parentd453b9a5b126584464ca09a2529ad7d72251f7f4 (diff)
Update Makefile to reflect build.sh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8f8fe0d75..297dc8a4b 100644
--- a/Makefile
+++ b/Makefile
@@ -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
-
-
+
+