makefile

来自「Linux 2.6 内核上配置IPSec VPN 的工具」· 代码 · 共 32 行

TXT
32
字号
HOSTNAME!=	/bin/hostname.if ${HOSTNAME} == "lychee.itojun.org"SRC=	206.175.160.20SRC6=	3ffe:501:410:ffff:200:86ff:fe05:80fa.elif ${HOSTNAME} == "cardamom.itojun.org"SRC=	206.175.160.21SRC6=	3ffe:501:410:ffff:210:4bff:fea2:8baa.endifTARGETS=	cardamom.conf lychee.conf cardamom6.conf lychee6.conf ssh.confall: $(TARGETS)lychee.conf: sandiego.pl	perl sandiego.pl $(SRC) 206.175.160.20 > lychee.confcardamom.conf: sandiego.pl	perl sandiego.pl $(SRC) 206.175.160.21 > cardamom.conflychee6.conf: sandiego.pl	perl sandiego.pl $(SRC6) 3ffe:501:410:ffff:200:86ff:fe05:80fa > lychee6.confcardamom6.conf: sandiego.pl	perl sandiego.pl $(SRC6) 3ffe:501:410:ffff:210:4bff:fea2:8baa > cardamom6.confssh.conf: sandiego.pl	perl sandiego.pl $(SRC) 194.100.55.1 > ssh.conf# itojunms.conf: sandiego.pl	perl sandiego.pl $(SRC) 206.175.161.182 > ms.confclean:	-rm -f $(TARGETS)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?