From c959751d9a224d558172f47f03dede34969167d3 Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Wed, 26 Oct 2016 14:47:22 +0100 Subject: [PATCH] make: Fix make install and test on Mac OS - Fixes #35 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cbba9b05..4888b8a5 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ check: setup: .git/hooks/pre-commit @cp bin/pre-commit.hook .git/hooks/pre-commit -SUBDIRS := $(shell find -maxdepth 2 -mindepth 2 -name 'Makefile' -printf '%h/.\n') +SUBDIRS := $(dir $(wildcard */Makefile)) TARGETS := install clean test lint # whatever else, but must not contain '/' # foo/.all bar/.all foo/.clean bar/.clean