diff options
author | 2016-12-08 11:46:15 +0100 | |
---|---|---|
committer | 2016-12-08 11:46:15 +0100 | |
commit | 124f30dbbc30b0153e1070a5db09e577b4af1919 (patch) | |
tree | 3f6c0a86c6e63ac971cb3436b2911a5099be687b /makefile | |
parent | 3408ed0ae5525882f35e0f796e6d6c17e12fe849 (diff) |
Enable building projects that are separate of MAME but use same core and lives in separate git tree (nw)
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -217,6 +217,10 @@ endif # build scripts will be run from # scripts/target/$(TARGET)/$(SUBTARGET).lua #------------------------------------------------- +ifdef PROJECT +PARAMS += --PROJECT='$(PROJECT)' +TARGET := $(PROJECT) +endif ifndef TARGET TARGET := mame @@ -800,8 +804,12 @@ SCRIPTS += scripts/target/$(TARGET)/mess.lua endif ifndef SOURCES +ifdef PROJECT +SCRIPTS += projects/$(PROJECT)/scripts/target/$(TARGET)/$(SUBTARGET_FULL).lua +else SCRIPTS += scripts/target/$(TARGET)/$(SUBTARGET_FULL).lua endif +endif ifdef REGENIE SCRIPTS+= regenie |