From: Stephen Seo Date: Thu, 10 Aug 2023 07:34:27 +0000 (+0900) Subject: Update Makefile X-Git-Url: https://git.seodisparate.com/stephenseo/annotated.html?a=commitdiff_plain;h=0611be13f202c92cd99099053e17b76f2fad8005;p=jumpartifact.com_demo_0 Update Makefile .SECONDEXPANSION is not necessary. --- 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 $@ $<