From 14474189c4c01ed36bb371b94d8eed563825c5c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 5 Nov 2023 13:04:34 +0100 Subject: [PATCH] adjust makefile to src folder --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ea73eeb..95f53c0 100644 --- a/Makefile +++ b/Makefile @@ -48,8 +48,8 @@ EXECUTABLE=$(LINK_NAME)$(LIBEXT) # Collect files to be compiled -CXX_SRCS=$(foreach ext, $(CXX_SRC_EXTS), $(shell find . -name "*.$(ext)")) -C_SRCS=$(foreach ext, $(C_SRC_EXTS), $(shell find . -name "*.$(ext)")) +CXX_SRCS=$(foreach ext, $(CXX_SRC_EXTS), $(shell find src -name "*.$(ext)")) +C_SRCS=$(foreach ext, $(C_SRC_EXTS), $(shell find src -name "*.$(ext)")) SRCS=$(CXX_SRCS) $(C_SRCS) OBJS=$(foreach ext, $(SRC_EXTS), $(patsubst %.$(ext), $(BUILDDIR)/%$(LIBEXT).o, $(filter %.$(ext), $(SRCS))))