📄 makefile
字号:
#!/bin/make -f# pathalias -- by steve bellovin, as told to peter honeyman### begin configuration section#### if you can't or don't intend to use dbm files,# don't bother with DBM or makedbDBM = -ldbm# or if you roll your own ...# DBM = dbm.o#### where is getopt (if not in the c library)?# GETOPT = getopt.o#### internet domain name resolver library# enable RESOLVER in config.h#RESOLVER = -lresolv### end of configuration section CC = ccCFLAGS = -OLDFLAGS = -s $(GETOPT) $(DBM) $(RESOLVER)YFLAGS = -dOBJ = addlink.o addnode.o domain.o local.o main.o mapit.o mapaux.o mem.o parse.o printit.oHDRS = def.h config.hCSRC = addlink.c addnode.c domain.c local.c main.c mapit.c mapaux.c mem.c printit.cLSRC = $(CSRC) parse.cSRC = $(CSRC) parse.y makedb.cpathalias: $(OBJ) $(CC) $(OBJ) $(LDFLAGS) -o pathaliasall: pathalias makedb$(OBJ): $(HDRS)parse.c: parse.y $(HDRS) $(YACC) $(YFLAGS) parse.y mv y.tab.c parse.cmakedb: makedb.o $(CC) makedb.o $(LDFLAGS) $(DBM) -o makedbmakedb.o: config.hclean: rm -f *.o y.tab.? parse.cclobber: clean rm -f pathalias makedbtags: $(SRC) $(HDRS) ctags -w $(HDRS) $(SRC)bundle: @bundle README CHANGES pathalias.1 Makefile ${HDRS} ${SRC}lint: $(LSRC) lint $(CFLAGS) $(LSRC) lint makedb.cinstall: @echo "install pathalias, makedb, and pathalias.8" @echo "according to local conventions"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -