依赖 Makefile

前端之家收集整理的这篇文章主要介绍了依赖 Makefile前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

OBJS=$(addprefix objects/,$(addsuffix .o,$(basename $(notdir $(SRC)))))

all: objects deps netd install

# automatic generation of all the rules written by vincent by hand.deps: $(SRC) Makefile@echo "Generating new dependency file...";@-rm -f deps;@for f in $(SRC); do / OBJ=objects/`basename $$f|sed -e 's//.cpp//.o/' -e 's//.c//.o/'`; / echo $$OBJ: $$f>> deps; / echo '$(CC) $$(CFLAGS) -c -o $$@ $$^'>> deps; / done-include ./deps

原文链接:https://www.f2er.com/javaschema/288332.html

猜你在找的设计模式相关文章