#Router ntpclient Makefile
#

OBJS1 := phaselock.o ntpclient.o 

all: ntpclient

.c.o:
	$(CC) $(CFLAGS) -c $<
		

clean:
	rm -f *.o *~ ntpclient  .*.depend

install: all
	install -m 755 ntpclient $(SBINDIR)
	$(ROMFSINST) ntp-action /bin/ntp-action

ntpclient: $(OBJS1)
	$(CC) -o $@ $^ $(LDFLAGS)

romfs: install
