Преглед на файлове

add/fix additional clean targets

Michael Panzlaff преди 6 години
родител
ревизия
5a908e9207
променени са 1 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 6
    2
      makefile

+ 6
- 2
makefile Целия файл

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