Browse Source

add/fix additional clean targets

Michael Panzlaff 6 years ago
parent
commit
5a908e9207
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      makefile

+ 6
- 2
makefile View File

166
 	rm -rf object/sots-private/map/script/*
166
 	rm -rf object/sots-private/map/script/*
167
 
167
 
168
 .PHONY: clean
168
 .PHONY: clean
169
-clean:
169
+clean: cleansnd
170
 	rm -f  $(OUTPATH)/__symbols.sym $(OUTPATH)/pkmn_sots.gba
170
 	rm -f  $(OUTPATH)/__symbols.sym $(OUTPATH)/pkmn_sots.gba
171
 	rm -rf generated_image/*
171
 	rm -rf generated_image/*
172
 	rm -R -f object/*
172
 	rm -R -f object/*
173
+	$(MAKE) -f sprites.makefile clean
174
+
175
+.PHONY: cleansnd
176
+cleansnd:
173
 	$(MAKE) -C $(dir $(MUSIC_AR)) clean
177
 	$(MAKE) -C $(dir $(MUSIC_AR)) clean
174
 	$(MAKE) -C $(dir $(SMPL_AR)) clean
178
 	$(MAKE) -C $(dir $(SMPL_AR)) clean
175
 	$(MAKE) -C $(dir $(VOICE_AR)) clean
179
 	$(MAKE) -C $(dir $(VOICE_AR)) clean
176
 	$(MAKE) -C $(dir $(LIST_AR)) clean
180
 	$(MAKE) -C $(dir $(LIST_AR)) clean
177
 	$(MAKE) -C $(dir $(CRY_AR)) clean
181
 	$(MAKE) -C $(dir $(CRY_AR)) clean
178
-	$(MAKE) -f sprites.makefile clean
179
 
182
 
180
 .PHONY: cleannogfx
183
 .PHONY: cleannogfx
184
+cleannogfx:
181
 	rm -f  $(OUTPATH)/__symbols.sym $(OUTPATH)/pkmn_sots.gba
185
 	rm -f  $(OUTPATH)/__symbols.sym $(OUTPATH)/pkmn_sots.gba
182
 	rm -rf generated_image/*
186
 	rm -rf generated_image/*
183
 	rm -R -f object/*
187
 	rm -R -f object/*