DIRS variable
This commit is contained in:
parent
0be8415502
commit
ea972a25b7
|
@ -5,6 +5,7 @@ PREFIX = ~/.local
|
||||||
INCDIR = include
|
INCDIR = include
|
||||||
OBJDIR = obj
|
OBJDIR = obj
|
||||||
BUILDDIR = build
|
BUILDDIR = build
|
||||||
|
DIRS = ${INCDIR} ${OBJDIR} ${BUILDDIR}
|
||||||
|
|
||||||
# includes
|
# includes
|
||||||
INCS = -I${INCDIR}
|
INCS = -I${INCDIR}
|
||||||
|
@ -14,3 +15,5 @@ CFLAGS = -Wall -Wextra -Werror ${INCS}
|
||||||
|
|
||||||
# compiler and linker
|
# compiler and linker
|
||||||
CC = cc
|
CC = cc
|
||||||
|
|
||||||
|
$(shell mkdir -p $(DIRS))
|
||||||
|
|
Loading…
Reference in New Issue