summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortom <tom@ground-control>2016-05-02 21:24:02 -0500
committertom <tom@ground-control>2016-05-02 21:24:02 -0500
commit8d9ad3eb74bc0dfc647abf03b7b99ed16f2a9115 (patch)
treeeb16f853c280ed200953fbc7a500193a69ef8892 /Makefile
parent0346965968fb5da1a52ed8f896a922c63ce180f6 (diff)
implementing better modularity, came into bad bug. All creatures seem to have same near vector.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a47226d..4fc413f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
OBJS = src/*cpp
DEPS = inc/
-CC = g++
+CC = g++
COMPILER_FLAGS = -w -I$(DEPS)
-LINKER_FLAGS = -lSDL2 -lSDL2_image -std=c++11
+LINKER_FLAGS = -g -lm -lSDL2 -lSDL2_image -std=c++11
all : $(OBJS)
$(CC) $(OBJS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o natures