File: Makefile

package info (click to toggle)
ale-clone 1.15pre16.3-1
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 2,432 kB
  • ctags: 3,217
  • sloc: ansic: 37,483; sh: 1,105; makefile: 343
file content (54 lines) | stat: -rw-r--r-- 1,162 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
##
##	A clone of a famous game.
##
##	Makefile	-	The make file.
##
##	(c) Copyright 1998,1999 by Lutz Sammer
##
##	$Id: Makefile,v 1.16 1999/11/26 17:42:33 root Exp $
##

TOPDIR=	..
include $(TOPDIR)/Rules.make

OBJS=

MODULES=	clone map unit action ai ui sound video network pathfinder

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