diff --git a/src/Library/CombiMake.mk b/src/Library/CombiMake.mk new file mode 100644 index 00000000..7b227908 --- /dev/null +++ b/src/Library/CombiMake.mk @@ -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 \ No newline at end of file diff --git a/src/Library/Library.code-workspace b/src/Library/Library.code-workspace index 31dbda46..aeb56d58 100644 --- a/src/Library/Library.code-workspace +++ b/src/Library/Library.code-workspace @@ -26,7 +26,18 @@ "command": "make ${input:target} BUILD_PROFILE=${input:build cfg} TV_FORMAT=${input:tv format}", }, "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": [ {