From 6e4bb2b0b18cbdcd115a7fedbbd62b31dd5eae2a Mon Sep 17 00:00:00 2001 From: Michael DM Dryden <mdryden@chem.utoronto.ca> Date: Fri, 16 Jun 2017 21:02:03 -0400 Subject: [PATCH] makefile: exclude .git folder. --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index d18ee5d..5d4041c 100644 --- a/config.mk +++ b/config.mk @@ -64,7 +64,7 @@ CSRCS = ${shell find ./src -type f -name "*.c" -print} ASSRCS = ${shell find ./src -type f -name "*.s" -print} # Include path located from the top-level source directory -INC_PATH = ${shell find . -type d -print} +INC_PATH = ${shell find . -not -path "./.git/*" -not -path "./.git" -type d -print} # Library paths from the top-level source directory LIB_PATH = -- GitLab