From 3597596ecb0bee2694ba7f6a6b7264173b16baed Mon Sep 17 00:00:00 2001 From: whaffman Date: Wed, 5 Mar 2025 17:44:32 +0100 Subject: [PATCH] temp wildcard srcs --- .gitignore | 1 - sources.mk | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 sources.mk diff --git a/.gitignore b/.gitignore index 60a45b6..09879ed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ minishell -sources.mk a.out *.d *.o diff --git a/sources.mk b/sources.mk new file mode 100644 index 0000000..619029c --- /dev/null +++ b/sources.mk @@ -0,0 +1,2 @@ +VPATH = $(shell find $(SRC_PATH) -type d | tr '\n' ':') +SOURCES = $(shell basename -a $(shell find $(SRC_PATH) -type f -name "*.c")) \ No newline at end of file