Improve rebuild behaviour
This commit is contained in:
@@ -6,7 +6,7 @@ $(CD_OUTPUT): always
|
||||
|
||||
all: $(CD_OUTPUT)
|
||||
|
||||
clean:
|
||||
clean:
|
||||
rm -fr *.bin
|
||||
rm -fr *.cue
|
||||
rm -fr *.lba
|
||||
|
||||
@@ -87,7 +87,5 @@ $(OUTPUT_DIR)/%.o: $$(subst !super,..,%.s)
|
||||
@mkdir -p $(dir $@)
|
||||
$(CC) $(ARCHFLAGS) -I$(PCSX_REDUX) -g -c -o $@ $<
|
||||
|
||||
include $(SELF_DIR)RebuildTarget.mk
|
||||
|
||||
#Inclusion of dependencies (object files to source and includes)
|
||||
-include $(OBJS:%.o=%.d)
|
||||
@@ -30,4 +30,8 @@ $(AUTO_OVERLAY_DIR)/Overlays.mk: $(OVERLAY_CONFIG)
|
||||
all: $(TARGET).psexe $(OVERLAY_TARGET)
|
||||
|
||||
clean:
|
||||
rm -fr $(OUTPUT_DIR)
|
||||
rm -fr $(OUTPUT_DIR)
|
||||
|
||||
# For mkoverlay to function correctly this is required (otherwise Overlays.mk is not re-generated)
|
||||
rebuild: clean
|
||||
$(MAKE) all
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
rebuild:
|
||||
$(MAKE) clean
|
||||
$(MAKE) all
|
||||
rebuild: |clean all
|
||||
Reference in New Issue
Block a user