Refactor framework -- point to a tests/* directory for the user supplied tests

This commit is contained in:
Pim van Pelt
2019-01-03 20:12:04 +01:00
parent 449d51aae8
commit 1db8c1a0bf
18 changed files with 222 additions and 1776 deletions

View File

@ -16,8 +16,8 @@ OBJDIR = build
LIBDIR = libs
BINDIR = .
SRCS := $(shell find -L $(SRCDIR) $(LIBDIR) -type f -name '*.c')
INCS := $(shell find -L $(SRCDIR) $(LIBDIR) $(INCDIR) -type d -name 'include')
SRCS := $(shell find -L $(SRCDIR) $(LIBDIR) -type f -name '*.c' | egrep -v 'deps/|build/' )
INCS := $(shell find -L $(SRCDIR) $(LIBDIR) $(INCDIR) -type d -name 'include'| egrep -v 'deps/|build/' )
INCFLAGS := $(patsubst %,-I %, $(INCS))
OBJS := $(patsubst %.c, build/%.o, $(SRCS))
RM = rm -f