Mirror of eathena's sourceforge SVN repository.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

56 lines
1.2 KiB

@SET_MAKE@
ALL_DEPENDS=mt19937ar common login char map plugins
COMMON_TXT_DEPENDS=mt19937ar
LOGIN_TXT_DEPENDS=mt19937ar common
CHAR_TXT_DEPENDS=mt19937ar common
MAP_TXT_DEPENDS=mt19937ar common
PLUGIN_DEPENDS=common
#####################################################################
.PHONY: txt \
common \
mt19937ar \
login \
char \
map \
plugins addons \
clean distclean
all: $(ALL_DEPENDS)
txt: common login char map
common: $(COMMON_TXT_DEPENDS)
@$(MAKE) -C src/common txt
mt19937ar:
@$(MAKE) -C 3rdparty/mt19937ar
login: $(LOGIN_TXT_DEPENDS)
@$(MAKE) -C src/login txt
char: $(CHAR_TXT_DEPENDS)
@$(MAKE) -C src/char
map: $(MAP_TXT_DEPENDS)
@$(MAKE) -C src/map txt
plugins addons: $(PLUGIN_DEPENDS)
@$(MAKE) -C src/plugins
clean:
@$(MAKE) -C src/common $@
@$(MAKE) -C 3rdparty/mt19937ar $@
@$(MAKE) -C src/login $@
@$(MAKE) -C src/char $@
@$(MAKE) -C src/map $@
@$(MAKE) -C src/plugins $@
distclean: clean
@rm -rf config.log config.status
@rm -rf src/common/config.h
@rm -rf src/tool/Makefile src/plugins/Makefile
@rm -rf src/login/Makefile src/char/Makefile src/map/Makefile
@rm -rf 3rdparty/mt19937ar/Makefile
@rm -rf src/common/Makefile Makefile