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