📄 makefile
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -