Makefile

changeset 32
8a0b85303ee8
parent 20
fd1eb081de40
child 55
54ea19938d57
--- a/Makefile	Tue Apr 08 21:13:28 2014 +0200
+++ b/Makefile	Wed Apr 09 09:34:07 2014 +0200
@@ -28,14 +28,17 @@
 
 include conf.mk
 
-all: build chess
+all: chess
 	cd src; $(MAKE)
 
-build:
-	$(MKDIR) build
+debug: chess-debug
+	cd src; $(MAKE) debug
 
 chess:
 	cd src/chess; $(MAKE) BUILDDIR=../../build CONFIG=../../conf.mk
+
+chess-debug:
+	cd src/chess; $(MAKE) debug BUILDDIR=../../build CONFIG=../../conf.mk
 	
 clean:
-	$(RM) -f -R build
+	$(RM) $(RMFLAGS) build

mercurial