Makefile

changeset 32
8a0b85303ee8
parent 20
fd1eb081de40
child 55
54ea19938d57
     1.1 --- a/Makefile	Tue Apr 08 21:13:28 2014 +0200
     1.2 +++ b/Makefile	Wed Apr 09 09:34:07 2014 +0200
     1.3 @@ -28,14 +28,17 @@
     1.4  
     1.5  include conf.mk
     1.6  
     1.7 -all: build chess
     1.8 +all: chess
     1.9  	cd src; $(MAKE)
    1.10  
    1.11 -build:
    1.12 -	$(MKDIR) build
    1.13 +debug: chess-debug
    1.14 +	cd src; $(MAKE) debug
    1.15  
    1.16  chess:
    1.17  	cd src/chess; $(MAKE) BUILDDIR=../../build CONFIG=../../conf.mk
    1.18 +
    1.19 +chess-debug:
    1.20 +	cd src/chess; $(MAKE) debug BUILDDIR=../../build CONFIG=../../conf.mk
    1.21  	
    1.22  clean:
    1.23 -	$(RM) -f -R build
    1.24 +	$(RM) $(RMFLAGS) build

mercurial