CC := arm-linux-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
