📄 makefile
字号:
# Simple, but effective way of recompling the MAKE=makeSHELL=/bin/sh# These are important to be the way they are. Make sure you know what# you are doing if you change them.LDS=:CC=cc -DBSD -picBUILDDIR=../../native.bNETOBJ=getnetbyaddr.o getnetbyname.o getnetent.o getnetnamadr.oRESOBJ=gethnamaddr.o herror.o inet_addr.o res_comp.o res_debug.o \res_init.o res_mkquery.o res_query.o res_send.o sethostent.o $(NETOBJ)COMPATOBJ=strerror.oMFLAGS= "LDS=${LDS}" "SUBDIRS=res compat" "CC=$(CC)"all: force objects copyforce: FRC (cd $(BUILDDIR); $(MAKE) $(MFLAGS) clean)objects: FRC (cd $(BUILDDIR); pwd; $(MAKE) $(MFLAGS) all)copy: FRC for f in $(RESOBJ); do \ cp $(BUILDDIR)/res/$$f .; \ done for f in $(COMPATOBJ); do \ cp $(BUILDDIR)/compat/lib/$$f .; \ doneclean: FRC $(RM) *.oFRC:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -