From d9245a6af31a708e9c475e55ac9ffa1b212487ee Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 13 Jan 2019 11:19:01 +0000 Subject: [PATCH] Update Makefile to reflect build.sh --- Makefile | 8 ++++---- 1 file 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 - - + +