Makefile workaround for wildcard not doing glob properly
[libc-test] / Makefile
index 77e85a1..be3d181 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 B:=src
 SRCS:=$(sort $(wildcard src/*/*.c))
 OBJS:=$(SRCS:src/%.c=$(B)/%.o)
-DIRS:=$(patsubst src/%/,%,$(sort $(wildcard src/*/)))
+DIRS:=$(patsubst src/%,%,$(filter-out src/REPORT,$(sort $(wildcard src/*))))
 BDIRS:=$(DIRS:%=$(B)/%)
 NAMES:=$(SRCS:src/%.c=%)
 CFLAGS:=-Isrc/common