DIRS variable

This commit is contained in:
Timo Schmidt 2023-03-19 03:37:12 +01:00
parent 0be8415502
commit ea972a25b7
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ PREFIX = ~/.local
INCDIR = include
OBJDIR = obj
BUILDDIR = build
DIRS = ${INCDIR} ${OBJDIR} ${BUILDDIR}
# includes
INCS = -I${INCDIR}
@ -14,3 +15,5 @@ CFLAGS = -Wall -Wextra -Werror ${INCS}
# compiler and linker
CC = cc
$(shell mkdir -p $(DIRS))