Update Makefile
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 15s

.SECONDEXPANSION is not necessary.
This commit is contained in:
Stephen Seo 2023-08-10 16:34:27 +09:00
parent 7afeb98288
commit 0611be13f2

View file

@ -54,8 +54,6 @@ clean:
format: format:
clang-format -i --style=google ${HEADERS} ${SOURCES} ${TEST_SOURCES} clang-format -i --style=google ${HEADERS} ${SOURCES} ${TEST_SOURCES}
.SECONDEXPANSION: ${OBJDIR}/%.cc.o: %.cc ${HEADERS}
${OBJDIR}/%.cc.o: $$(subst ${OBJDIR}/,,%.cc) ${HEADERS}
@mkdir -p $(dir $@) @mkdir -p $(dir $@)
${CXX} -c ${CXX_FLAGS} -o $@ $< ${CXX} -c ${CXX_FLAGS} -o $@ $<