summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index deda04b..ce7e166 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,10 @@ SRCS_NAME += b_sqb_nbr
SRCS_NAME += b_sqb_str
SRCS_NAME += b_type
SRCS_NAME += b_unset
+SRCS_NAME += c_init
+SRCS_NAME += c_input
+SRCS_NAME += c_keys
+SRCS_NAME += c_utils
SRCS_NAME += e_builtins
SRCS_NAME += e_externs
SRCS_NAME += e_externs_pipes
@@ -101,19 +105,20 @@ ifeq (${OS}, FreeBSD)
CC = /usr/bin/cc
endif
ifeq (${OS}, Linux)
-CC = /usr/bin/clang-9
+CC = clang
endif
ifeq (${OS}, Darwin)
CC = clang
endif
CFLAGS = -std=c89
-CFLAGS += -Wall
+CFLAGS = -Wall
CFLAGS += -Wextra
CFLAGS += -Werror
CFLAGS += -pedantic
#------------------------------------------------------------------------------#
LDFLAGS = -L${LFT_DIR}
LDFLAGS += -lft
+LDFLAGS += -lncurses
#==============================================================================#
#--------------------------------- UNIX ---------------------------------------#
#==============================================================================#