Makefile

changeset 32
8a0b85303ee8
parent 20
fd1eb081de40
child 55
54ea19938d57
equal deleted inserted replaced
31:ed440bcd9740 32:8a0b85303ee8
26 # POSSIBILITY OF SUCH DAMAGE. 26 # POSSIBILITY OF SUCH DAMAGE.
27 # 27 #
28 28
29 include conf.mk 29 include conf.mk
30 30
31 all: build chess 31 all: chess
32 cd src; $(MAKE) 32 cd src; $(MAKE)
33 33
34 build: 34 debug: chess-debug
35 $(MKDIR) build 35 cd src; $(MAKE) debug
36 36
37 chess: 37 chess:
38 cd src/chess; $(MAKE) BUILDDIR=../../build CONFIG=../../conf.mk 38 cd src/chess; $(MAKE) BUILDDIR=../../build CONFIG=../../conf.mk
39
40 chess-debug:
41 cd src/chess; $(MAKE) debug BUILDDIR=../../build CONFIG=../../conf.mk
39 42
40 clean: 43 clean:
41 $(RM) -f -R build 44 $(RM) $(RMFLAGS) build

mercurial