From 0611be13f202c92cd99099053e17b76f2fad8005 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 10 Aug 2023 16:34:27 +0900 Subject: [PATCH] Update Makefile .SECONDEXPANSION is not necessary. --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 36103dd..0693eb8 100644 --- a/Makefile +++ b/Makefile @@ -54,8 +54,6 @@ clean: format: clang-format -i --style=google ${HEADERS} ${SOURCES} ${TEST_SOURCES} -.SECONDEXPANSION: - -${OBJDIR}/%.cc.o: $$(subst ${OBJDIR}/,,%.cc) ${HEADERS} +${OBJDIR}/%.cc.o: %.cc ${HEADERS} @mkdir -p $(dir $@) ${CXX} -c ${CXX_FLAGS} -o $@ $<