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 $@ $<