#
# Router NTP control scripts Makefile
#
# Copyright (C) 2002 Gemtek Corporation
#
# $Id: Makefile,v 1.1.1.1 2004/03/22 03:02:34 tom Exp $
#

CFLAGS	+=	-s -O2 -Wall
CFLAGS   +=	-Dlinux -DTIMEZONE -DDAYLIGHTSAVE

CFLAGS	+= -I./

OBJS	=	Getntp.o phaselock.o

all	: 	clean Getntp

install:
	cp Getntp $(RAMDISK_ROOT)/bin/Getntp

romfs	:	all
	cp Getntp $(ROMFSDIR)/bin

Getntp	:	$(OBJS) Makefile
	$(CC) $(CFLAGS)  $(CLIB) -o $@ $(OBJS) $(LDFLAGS)
	$(STRIP) Getntp

clean:
	rm -f $(OBJS) *~ exeNtp.o exeNtp Getntp
