瀏覽代碼

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/*