From 265c1b6e05e9f4771847c8af6ec149c32361cb82 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 29 Dec 2019 12:40:22 +0100 Subject: ls still not working --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 420183b..2d6149c 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,9 @@ MANPREFIX = $(PREFIX)/share/man ${OBJS_DIR}%.o: ${SRCS_DIR}%.cpp ${INCS_DIR}${INCS} +ifeq ("$(wildcard ${OBJS_DIR})","") ${MKDIR} ${OBJS_DIR} +endif ${CXX} ${CXXFLAGS} -I${INCS_DIR} -c -o $@ $< ${NAME}: ${OBJS} -- cgit v1.2.3