makefile
来自「这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易」· 代码 · 共 45 行
TXT
45 行
LIB=/usr/lib/upasCFLAGS=${UNIX} -g -I. -I../libc -I../common -I/usr/include -I/usr/include/sysLFLAGS=-gHOSTNAME=cat /etc/whoami.c.o: ; $(CC) -c $(CFLAGS) $*.call: mailsedfile: echo 's+LIBDIR+$(LIB)+g' >sed.file echo 's+HOSTNAME+$(HOSTNAME)+g' >>sed.fileinstall: sedfile install.fish install.mail.shinstall.fish: cp gone.msg $(LIB) sed -f sed.file gone.fishing >$(LIB)/gone.fishing -chmod 775 $(LIB)/gone.fishing -chown bin $(LIB)/gone.fishing $(LIB)/gone.msginstall.mail.sh: sed -f sed.file mail.sh >/bin/mail -chown bin /bin/mail -chmod 775 /bin/mailinstall.notify: notify cp notify $(LIB)/notify -chmod 775 $(LIB)/notify -chown bin $(LIB)/notifyinstall.mail: mail cp mail /bin strip /bin/mailnotify: notify.o cc $(LFLAGS) notify.o -o notifymail: mail.o ../config/config.o cc $(LFLAGS) mail.o ../config/config.o -o mailclean: -rm -f *.[oOa] core a.out *.sL notify -rm -f sed.file mail
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?