makefile
来自「ftam等标准协议服务器和客户端的源代码。」· 代码 · 共 86 行
TXT
86 行
################################################################################ Instructions to Make, for compilation of ISODE header files################################################################################################################################################################ $Header$### $Log$################################################################################################################################################################# NOTICE## Acquisition, use, and distribution of this module and related# materials are subject to the restrictions of a license agreement.# Consult the Preface in the User's Manual for the full terms of# this agreement.################################################################################DIRS = $(QUIPU) emptyHEADERS = config.h \ general.h manifest.h internet.h isoaddrs.h x25.h cons.h \ tp4.h \ isoservent.h logger.h tailor.h \ tpkt.h tsap.h \ spkt.h ssap.h \ ppkt.h psap2.h psap.h \ acpkt.h acsap.h \ rtpkt.h rtsap.h \ ropkt.h rosap.h \ rosy.h \ fpkt.h ftam.h \ sys.dirent.h dirent.h################################################################### Here it is...##################################################################all:; @for i in $(DIRS); \ do (echo "cd $$i; $(MAKE) all"; \ cd $$i; $(MAKE) all); \ doneinst-all:; -mkdir $(INCDIRM) @for h in $(HEADERS); do $(MAKE) TARGET=$$h inst-target; done @for i in $(DIRS); \ do (echo "cd $$i; $(MAKE) inst-all"; \ cd $$i; $(MAKE) inst-all); \ doneinst-target: $(INCDIR)$(TARGET)$(INCDIR)$(TARGET): $(TARGET) -cp $@ z$(TARGET) sed -e 's%#include "\([^/]*\)"%#include "$(INCDIR)\1"%' \ < $(TARGET) > $@ -@ls -gls $@ -@echo ""install: inst-all cleanlint:; @for i in $(DIRS); \ do (echo "cd $$i; $(MAKE) lint"; \ cd $$i; $(MAKE) lint); \ doneclean:; rm -f z* _* @for i in $(DIRS); \ do (echo "cd $$i; $(MAKE) clean"; \ cd $$i; $(MAKE) clean); \ donegrind:; tgrind -lc $(HEADERS) @for i in $(DIRS); \ do (echo "cd $$i; $(MAKE) grind"; \ cd $$i; $(MAKE) grind); \ done
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?