Skip to content

Commit

Permalink
fixes for 'clobber' target
Browse files Browse the repository at this point in the history
  • Loading branch information
hirdrac committed Jan 30, 2024
1 parent 49bef13 commit 34bd547
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ format:
$(foreach var,$(DIRS), (cd $(var); sh $(TOP)/build/tidy_source.sh do) ;)
$(foreach var,$(DIRS), (cd $(var); sh $(TOP)/build/format.sh do) ;)

clean:
$(foreach var,$(DIRS), $(MAKE) -C $(var) $@; )
clean_files:
/bin/rm -rf data/sounds/
/bin/rm -rf data/gfx/
/bin/rm -f build.log

clobber:
clean: clean_files
$(foreach var,$(DIRS), $(MAKE) -C $(var) $@; )

clobber: clean_files
$(foreach var,$(DIRS), $(MAKE) -C $(var) $@; )

.PHONY: all clean clobber format pre
.PHONY: all clean_files clean clobber format pre

.DEFAULT_GOAL := all

0 comments on commit 34bd547

Please sign in to comment.