makefile
来自「ntp client, can get the current time abo」· 代码 · 共 20 行
TXT
20 行
# Under Solaris, you need to
# CFLAGS += -xO2 -Xc
# LDLIBS += -lnsl -lsocket
# Some versions of Linux may need
# CFLAGS += -D_GNU_SOURCE
# To cross-compile
# CC = arm-linux-gcc
CFLAGS += -Wall -Os
all: ntpclient
test: ntpclient
./ntpclient -d -r <test.dat
ntpclient: ntpclient.o phaselock.o
clean:
rm -f ntpclient *.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?