0
它所做的不是執行可執行代碼,而是創建不執行任何操作的文件,即使這些文件是可執行文件。如何修復此Makefile
TARGETS = load list show add delete btree
all: $(TARGETS)
%: %.cpp
g++ $< -g -o [email protected] -MM -MF [email protected]
sed "s/[email protected]\.o:/[email protected]:/" [email protected] > [email protected]
[email protected] [email protected]
DEPS=$(TARGETS:%=%.d)
-include $(DEPS)