Add Combi Target

This commit is contained in:
Jaby 2024-02-08 21:47:27 -05:00
parent 42e9af892a
commit eae00b215a
2 changed files with 23 additions and 1 deletions

11
src/Library/CombiMake.mk Normal file
View File

@ -0,0 +1,11 @@
all:
$(MAKE) all TV_FORMAT=PAL
$(MAKE) all TV_FORMAT=NTSC
clean:
$(MAKE) clean TV_FORMAT=PAL
$(MAKE) clean TV_FORMAT=NTSC
rebuild:
$(MAKE) rebuild TV_FORMAT=PAL
$(MAKE) rebuild TV_FORMAT=NTSC

View File

@ -26,7 +26,18 @@
"command": "make ${input:target} BUILD_PROFILE=${input:build cfg} TV_FORMAT=${input:tv format}", "command": "make ${input:target} BUILD_PROFILE=${input:build cfg} TV_FORMAT=${input:tv format}",
}, },
"group": "build" "group": "build"
} },
{
"label": "combi make",
"type": "shell",
"windows": {
"command": "wsl make -f CombiMake.mk ${input:target} BUILD_PROFILE=${input:build cfg}",
},
"linux": {
"command": "make -f CombiMake.mk ${input:target} BUILD_PROFILE=${input:build cfg}",
},
"group": "build"
},
], ],
"inputs": [ "inputs": [
{ {