Put RebuildTarget into own file
This commit is contained in:
parent
bf0ae11a53
commit
70142ba64f
|
@ -23,6 +23,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "build assets",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "wsl make ${input:target} BUILD_PROFILE=${input:build profile} JABY_ENGINE_DIR=$(wslpath ${env:JABY_ENGINE_PATH})",
|
||||||
|
"group": "build",
|
||||||
|
"options": {
|
||||||
|
"cwd": "assets",
|
||||||
|
"env": {
|
||||||
|
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "cdgen",
|
"label": "cdgen",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
|
|
@ -87,10 +87,7 @@ $(OUTPUT_DIR)/%.o: $$(subst !super,..,%.s)
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
$(CC) $(ARCHFLAGS) -I$(PCSX_REDUX) -g -c -o $@ $<
|
$(CC) $(ARCHFLAGS) -I$(PCSX_REDUX) -g -c -o $@ $<
|
||||||
|
|
||||||
#Rules section for default compilation and linking
|
include $(SELF_DIR)RebuildTarget.mk
|
||||||
rebuild:
|
|
||||||
$(MAKE) clean
|
|
||||||
$(MAKE) all
|
|
||||||
|
|
||||||
#Inclusion of dependencies (object files to source and includes)
|
#Inclusion of dependencies (object files to source and includes)
|
||||||
-include $(OBJS:%.o=%.d)
|
-include $(OBJS:%.o=%.d)
|
|
@ -0,0 +1,3 @@
|
||||||
|
rebuild:
|
||||||
|
$(MAKE) clean
|
||||||
|
$(MAKE) all
|
Loading…
Reference in New Issue