You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
606 B
Makefile
37 lines
606 B
Makefile
15 years ago
|
|
||
|
BUILD_DIRS = game_share
|
||
|
|
||
|
night: all
|
||
|
|
||
|
all: $(foreach dir,$(BUILD_DIRS),$(dir)-all)
|
||
|
|
||
|
%-all:
|
||
|
+make -k -C $* all
|
||
|
|
||
|
clean: $(foreach dir,$(BUILD_DIRS),$(dir)-clean)
|
||
|
|
||
|
%-clean:
|
||
|
+make -C $* clean
|
||
|
|
||
|
distclean: $(foreach dir,$(BUILD_DIRS),$(dir)-distclean)
|
||
|
|
||
|
%-distclean:
|
||
|
+make -C $* distclean
|
||
|
|
||
|
cleansheets: $(foreach dir,$(BUILD_DIRS),$(dir)-cleansheets)
|
||
|
|
||
|
%-cleansheets:
|
||
|
+make -C $* cleansheets
|
||
|
|
||
|
update: $(foreach dir,$(BUILD_DIRS),$(dir)-update)
|
||
|
|
||
|
%-update:
|
||
|
+make -C $* update
|
||
|
|
||
|
touch: $(foreach dir,$(BUILD_DIRS),$(dir)-touch)
|
||
|
|
||
|
%-touch:
|
||
|
+make -C $* touch
|
||
|
|
||
|
.NOTPARALLEL: night all clean cleansheets update touch
|