Instead of executable code all it does is create files that don't do anything, even if the files are made executable.
TARGETS = load list show add delete btree
all: $(TARGETS)
%: %.cpp
g++ $< -g -o $@ -MM -MF [email protected]
sed "s/$@\.o:/$@:/" [email protected] > [email protected]
-@rm [email protected]
DEPS=$(TARGETS:%=%.d)
-include $(DEPS)