diff options
author | m8pple <dt10@imperial.ac.uk> | 2015-10-19 16:49:51 +0100 |
---|---|---|
committer | m8pple <dt10@imperial.ac.uk> | 2015-10-19 16:49:51 +0100 |
commit | 3dfc42de7a4c6605313abbfc276f8539e39a6422 (patch) | |
tree | 1245b075261fb7993e5acf2a3882701848b3d798 /makefile | |
parent | dae28f43f291090bc784384b345514a7edcc0b0e (diff) | |
download | MipsCPU-3dfc42de7a4c6605313abbfc276f8539e39a6422.tar.gz MipsCPU-3dfc42de7a4c6605313abbfc276f8539e39a6422.zip |
Added support for nested src directories. Closes #2.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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))) |