makefile
来自「实现linux系统和网络时钟服务器的时间同步,从而可以得到准确的时间.」· 代码 · 共 32 行
TXT
32 行
# A long time ago, far, far away, under Solaris, you needed to# CFLAGS += -xO2 -Xc# LDLIBS += -lnsl -lsocket# To cross-compile CC = arm-softfloat-linux-gnu-gcc# To check for lint# -Wundef not recognized by gcc-2.7.2.3CFLAGS += -std=c99 -W -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow \ -Waggregate-return -Wnested-externs -Winline -Wwrite-strings -Wstrict-prototypesCFLAGS += -O2# CFLAGS += -DPRECISION_SIOCGSTAMPCFLAGS += -DENABLE_DEBUGCFLAGS += -DENABLE_REPLAY# CFLAGS += -DUSE_OBSOLETE_GETTIMEOFDAYLDFLAGS += -lrtall: ntpclienttest: ntpclient ./ntpclient -d -r <test.datntpclient: ntpclient.o phaselock.ontpclient.o phaselock.o: ntpclient.hadjtimex: adjtimex.oclean: rm -f ntpclient adjtimex *.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?