diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | config.mk | 10 |
2 files changed, 11 insertions, 6 deletions
@@ -1,13 +1,8 @@ # See LICENSE file for copyright and license details. -CC = cc -SRC != find src -name "*.c" -OBJ = ${SRC:.c=.o} +include config.mk -LIBNAME = liblog -LIBVER = 0.0.0-a1 -CFLAGS = -Wall -ansi --std=c89 -pedantic ${OPT} -DLIBVER=\"${LIBVER}\" dist: static shared diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..17be91f --- /dev/null +++ b/config.mk @@ -0,0 +1,10 @@ +# See LICENSE file for copyright and license details. + +CC = cc +SRC != find src -name "*.c" +OBJ = ${SRC:.c=.o} + +LIBNAME = liblog +LIBVER = 0.0.0-a1 + +CFLAGS = -Wall -ansi --std=c89 -pedantic ${OPT} -DLIBVER=\"${LIBVER}\"
\ No newline at end of file |