From 3dfc42de7a4c6605313abbfc276f8539e39a6422 Mon Sep 17 00:00:00 2001 From: m8pple Date: Mon, 19 Oct 2015 16:49:51 +0100 Subject: Added support for nested src directories. Closes #2. --- makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index d1aec94..d00ca10 100644 --- a/makefile +++ b/makefile @@ -19,7 +19,11 @@ USER_CPU_SRCS = \ $(wildcard src/$(LOGIN)/mips_cpu.c) \ $(wildcard src/$(LOGIN)/mips_cpu.cpp) \ $(wildcard src/$(LOGIN)/mips_cpu_*.c) \ - $(wildcard src/$(LOGIN)/mips_cpu_*.cpp) + $(wildcard src/$(LOGIN)/mips_cpu_*.cpp) \ + $(wildcard src/$(LOGIN)/*/*.c) \ + $(wildcard src/$(LOGIN)/*/*.cpp) \ + $(wildcard src/$(LOGIN)/*/*.c) \ + $(wildcard src/$(LOGIN)/*/*.cpp) USER_CPU_OBJECTS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(USER_CPU_SRCS))) -- cgit