summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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