1# Under Solaris, you need to 
2#    CFLAGS += -xO2 -Xc
3#    LDLIBS += -lnsl -lsocket
4# Some versions of Linux may need
5#    CFLAGS += -D_GNU_SOURCE
6# To cross-compile
7#    CC = arm-linux-gcc
8
9CFLAGS += -Wall -O
10
11all: ntpclient
12
13test: ntpclient
14	./ntpclient -d -r <test.dat
15
16ntpclient: ntpclient.o phaselock.o
17
18clean:
19	rm -f ntpclient *.o
20