📄 makefile
字号:
OBJS=bootpd.o log.o if.o conf.oTARGET=bootpd_nisRELEASE=0.2TARNAME=bootpdnis-${RELEASE}.tarCC=gccCFLAGS=-g LDFLAGS=## OS options# -----------## Sun Solaris# # uncomment the following line for Solaris##LDFLAGS +=-lnsl -lsocket## Backend options# ---------------## NIS+ Support## uncomment the following lines if you wish # to compile bootpd_nis with NIS+ maps support##CFLAGS += -D_NISPLUS#OBJS += nisplus.o#TARGET = bootpd_nisplus#LDFLAGS += -lnsl## NIS support# uncomment the following lines for NIS maps supportCFLAGS += -D_NISOBJS += nis.oLDFLAGS +=-lnsl## END OF CONFIGURATION## version option#CFLAGS += -DBOOTPDNIS_RELEASE="\"${RELEASE}\""all: ${TARGET}${TARGET}: ${OBJS} ${CC} ${OBJS} -o ${TARGET} ${LDFLAGS} %.o: %.c ${CC} ${CFLAGS} -c $< -o $@ clean: rm -f ${TARGET} ${OBJS} *~ *.o core core.* ${TARNAME}${OBJS}: bootpd.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -