Gobligine/Makefile
2000-03-25 22:38:54 +00:00

61 lines
1.6 KiB
Makefile

## ___________ _________ _____ __
## \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
## | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
## | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
## \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
## \/ \/ \/ \/ \/
## ______________________ ______________________
## T H E W A R B E G I N S
## FreeCraft - A free fantasy real time strategy game engine
##
## Makefile - The make file.
##
## (c) Copyright 1998-2000 by Lutz Sammer
##
## $Id$
##
TOPDIR= ..
include $(TOPDIR)/Rules.make
OBJS=
MODULES= clone map unit action ai ui sound video network pathfinder siod game
all::
@set -e; for i in $(MODULES) ; do make -C $$i all ; done
doc::
@set -e; for i in $(MODULES) include ; do make -C $$i doc ; done
clean::
@set -e; for i in $(MODULES) include ; do make -C $$i clean ; done
$(RM) $(OBJS) libclone.a
clobber:: clean
@set -e; for i in $(MODULES) include ; do make -C $$i clobber ; done
$(RM) .depend tags
depend::
@echo -n >.depend
@set -e; for i in $(MODULES) ; do make -C $$i depend ; done
tags::
@set -e; for i in $(MODULES) ; do cd $$i ; make tags ; cd .. ; done
distlist::
echo >>$(DISTLIST)
echo src/Makefile >>$(DISTLIST)
@for i in include $(MODULES) ; do make -C $$i distlist ; done
ci::
@for i in include $(MODULES) ; do make -C $$i ci ; done
ci -l Makefile
lockver::
@for i in include $(MODULES) ; do make -C $$i lockver ; done
$(LOCKVER) Makefile
ifeq (.depend,$(wildcard .depend))
include .depend
endif