Final fix. Let's set DESTDIR to / root by default. You can always change it with running make DESTDIR=your/path un/install.

This commit is contained in:
Alexander Andreev 2021-12-24 02:37:36 +04:00
parent 5ab493e7cc
commit 25311a3b7e
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -5,6 +5,8 @@ CFLAGS=--std=c2x -O3 -Wall -Werror -Wextra -pedantic
SRC_DIR=src SRC_DIR=src
OBJ_DIR=obj OBJ_DIR=obj
DESTDIR=/
all: ${TARGET} all: ${TARGET}
${TARGET}: ${OBJ_DIR}/main.o ${TARGET}: ${OBJ_DIR}/main.o