config.mk
This commit is contained in:
parent
64ca327e50
commit
e4128afd05
|
@ -0,0 +1,33 @@
|
|||
# Configuration for rush01's Makefile
|
||||
|
||||
# paths
|
||||
PREFIX=~/.local
|
||||
INCDIR=include
|
||||
OBJDIR=obj
|
||||
BUILDDIR=build
|
||||
DIRS=
|
||||
DIRS+=${INCDIR}
|
||||
DIRS+=${OBJDIR}
|
||||
DIRS+=${BUILDDIR}
|
||||
|
||||
# includes
|
||||
INCS=-I${INCDIR}
|
||||
|
||||
# flags
|
||||
CFLAGS=
|
||||
CFLAGS+=-Wall
|
||||
CFLAGS+=-Wextra
|
||||
#CFLAGS+=-Werror
|
||||
CFLAGS+=${INCS}
|
||||
LDFLAGS=
|
||||
|
||||
# compiler and linker
|
||||
CC=cc
|
||||
|
||||
# other executables
|
||||
RM=/bin/rm -f
|
||||
MKDIR=/bin/mkdir -p
|
||||
CP=/bin/cp -f
|
||||
CHMOD=/bin/chmod
|
||||
|
||||
$(shell mkdir -p $(DIRS))
|
Loading…
Reference in New Issue