From 747aefbc0c0d3a8d774689567d1bca232c7c0592 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 3 Jul 2022 16:01:18 +0200 Subject: WIP --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3