summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 858de08..7dbdb7c 100644
--- a/Makefile
+++ b/Makefile
@@ -32,8 +32,10 @@ SRCS := ${SRCS:S/^/${SRCS_DIR}\//g}
OBJS := ${SRCS:=.o}
# OBJS := ${OBJS:S/${SRCS_DIR}/${OBJS_DIR}/g}
-# INCS :=
-# INCS += ${SRCS:.c=.h}
+INCS := c_defines
+INCS := ${INCS:S/$/.h/g}
+INCS := ${INCS:S/^/${SRCS_DIR}\//g}
+INCS += ${SRCS:.c=.h}
NAME := mpdview
@@ -44,7 +46,6 @@ CFLAGS += -Wextra
CFLAGS += -Werror
CFLAGS += -pedantic
CFLAGS += -isystem/usr/local/include
-# CFLAGS += -isystem${SRCS_DIR}/
CFLAGS += -glldb
# CFLAGS += -march=native -O2 -pipe