--- 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