# CC := arm-linux-gcc
CC := arm-dspg-linux-uclibceabi-gcc
CFLAGS += -Os

CFLAGS += -Wall

all: ntpclient

test: ntpclient
	./ntpclient -d -r <test.dat

ntpclient: ntpclient.o phaselock.o
	$(CC) $(CFLAGS) $^ -o $@

clean:
	rm -f ntpclient *.o
