From e6f02daa60ca289ddf7c1c86ea720eadfa736cbd Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 22 Apr 2018 16:57:16 +0200 Subject: [PATCH] Follow symlinks for SRC/INC --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7a31374..0836053 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,8 @@ OBJDIR = build LIBDIR = libs BINDIR = . -SRCS := $(shell find $(SRCDIR) $(LIBDIR) -type f -name '*.c') -INCS := $(shell find $(SRCDIR) $(LIBDIR) $(INCDIR) -type d -name 'include') +SRCS := $(shell find -L $(SRCDIR) $(LIBDIR) -type f -name '*.c') +INCS := $(shell find -L $(SRCDIR) $(LIBDIR) $(INCDIR) -type d -name 'include') INCFLAGS := $(patsubst %,-I %, $(INCS)) OBJS := $(patsubst %.c, build/%.o, $(SRCS)) RM = rm -f