summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2016-04-05 14:01:50 +0200
committerPaweł Redman <pawel.redman@gmail.com>2016-04-05 14:01:50 +0200
commitc7acaee6651a84ef9102b29350c37803c8f435a9 (patch)
tree68af0d065a3580c32558feda7dc918e112771238 /Makefile
parent77a74fcea5c628bb426b5cce1012e4e5504b10f1 (diff)
Console WIP.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5113b8f..a740690 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC = gcc
CFLAGS += -g -Wall
CPPFLAGS += -MMD
-LDFLAGS += -lm -lSDL2 -lSDL2_image
+LDFLAGS += -lm -lSDL2 -lSDL2_image -lreadline
PP_BOLD := $(shell tput bold)
PP_RESET := $(shell tput sgr0)
@@ -10,7 +10,7 @@ PP_LD := $(PP_BOLD)$(shell tput setf 2)LD$(PP_RESET)
PP_RM := $(PP_BOLD)$(shell tput setf 4)RM$(PP_RESET)
SRC := src/main.c src/physics.c src/renderer.c src/ui.c src/itc.c \
- src/common.c
+ src/common.c src/console.c
OBJ := $(SRC:src/%.c=obj/%.o)
OUT := cem