Mon, 31 Mar 2014 11:41:08 +0200
added optional alternate config for chess lib
Makefile | file | annotate | diff | comparison | revisions | |
conf.mk | file | annotate | diff | comparison | revisions | |
src/chess/Makefile | file | annotate | diff | comparison | revisions |
--- a/Makefile Mon Mar 31 11:16:32 2014 +0200 +++ b/Makefile Mon Mar 31 11:41:08 2014 +0200 @@ -35,7 +35,7 @@ $(MKDIR) build chess: - cd src/chess; $(MAKE) BUILDDIR=../../build + cd src/chess; $(MAKE) BUILDDIR=../../build CONFIG=../../conf.mk clean: $(RM) -f -R build
--- a/conf.mk Mon Mar 31 11:16:32 2014 +0200 +++ b/conf.mk Mon Mar 31 11:41:08 2014 +0200 @@ -28,12 +28,16 @@ MKDIR = mkdir RM = rm +AR = ar -BIN = terminal-chess -CC = gcc -CFLAGS = -g -O2 -std=gnu99 -Wall -Werror -pedantic -LD = gcc -LDFLAGS = -lncurses +BIN = terminal-chess +CC = gcc +CFLAGS = -g -O2 -std=gnu99 -Wall -Werror -pedantic +LD = gcc +LDFLAGS = -lncurses +ARFLAGS = -r +MKDIRFLAGS = -p +RMFLAGS = -f -R LIB_EXT = .a OBJ_EXT = .o