tests - Sort tests into subdirectories
This commit is contained in:
parent
2762b3aa8b
commit
15c4811804
9 changed files with 5 additions and 1 deletions
6
Makeconf
6
Makeconf
|
@ -16,9 +16,13 @@ modules_libemu.a := memory/device.o \
|
|||
modules_vgbc := main.o libemu.a
|
||||
verb_vgbc := link
|
||||
|
||||
modules_vgbc.test := $(patsubst %.cpp,%.o,$(wildcard tests/*.cpp)) libemu.a
|
||||
sources_vgbc.test := $(shell find tests/ -name '*.cpp')
|
||||
objects_vgbc.test := $(patsubst %.cpp,%.o,$(sources_vgbc.test))
|
||||
modules_vgbc.test := $(objects_vgbc.test) libemu.a
|
||||
verb_vgbc.test := link
|
||||
|
||||
$(objects_vgbc.test): CXX_FLAGS+=-I $(CURDIR)/tests
|
||||
|
||||
modules_vgbc.inspect := cartridge/inspector.o libemu.a
|
||||
verb_vgbc.inspect := link
|
||||
|
||||
|
|
Loading…
Reference in a new issue