diff --git a/.gitattributes b/.gitattributes index b22d7d5c12d..f0af7d5347f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -473,7 +473,7 @@ src/emu/cpu/h6280/6280dasm.c svneol=native#text/plain src/emu/cpu/h6280/h6280.c svneol=native#text/plain src/emu/cpu/h6280/h6280.h svneol=native#text/plain src/emu/cpu/h6280/h6280ops.h svneol=native#text/plain -src/emu/cpu/h6280/tblh6280.c svneol=native#text/plain +src/emu/cpu/h6280/tblh6280.inc svneol=native#text/plain src/emu/cpu/h83002/h8.h svneol=native#text/plain src/emu/cpu/h83002/h8_16.c svneol=native#text/plain src/emu/cpu/h83002/h8_8.c svneol=native#text/plain diff --git a/src/build/makemak.c b/src/build/makemak.c index 72702ff5b68..9d7fc2f6b99 100644 --- a/src/build/makemak.c +++ b/src/build/makemak.c @@ -606,6 +606,14 @@ static int recurse_dir(int srcrootlen, astring &srcdir) t.replace(0, "src/", "$(OBJ)/"); t.replace(0, ".lay", ".lh"); + printf("%s: %s\n", target2.cstr(), t.cstr()); + } + if (core_filename_ends_with(t, ".inc")) + { + astring target2(file.name); + target2.replace(0, "src/", "$(OBJ)/"); + target2.replace(0, ".c", ".o"); + printf("%s: %s\n", target2.cstr(), t.cstr()); } } diff --git a/src/emu/cpu/cpu.mak b/src/emu/cpu/cpu.mak index 11716c553f1..15c3b4334d6 100644 --- a/src/emu/cpu/cpu.mak +++ b/src/emu/cpu/cpu.mak @@ -621,7 +621,6 @@ endif $(CPUOBJ)/h6280/h6280.o: $(CPUSRC)/h6280/h6280.c \ $(CPUSRC)/h6280/h6280.h \ $(CPUSRC)/h6280/h6280ops.h \ - $(CPUSRC)/h6280/tblh6280.c diff --git a/src/emu/cpu/h6280/h6280.h b/src/emu/cpu/h6280/h6280.h index 5467ab918c7..c712d14ac08 100644 --- a/src/emu/cpu/h6280/h6280.h +++ b/src/emu/cpu/h6280/h6280.h @@ -119,7 +119,7 @@ protected: #include "h6280ops.h" // include the opcode macros and functions - #include "tblh6280.c" + #include "tblh6280.inc" // address spaces const address_space_config m_program_config; diff --git a/src/emu/cpu/h6280/tblh6280.c b/src/emu/cpu/h6280/tblh6280.inc similarity index 100% rename from src/emu/cpu/h6280/tblh6280.c rename to src/emu/cpu/h6280/tblh6280.inc