#
# Makefile.tmpl,v 3.1 1993/07/06 01:10:58 jbj Exp
#
PROGRAM=	tickadj
#
# Makefile for utilities
#
COMPILER= cc
COPTS= -O
BINDIR=	/usr/local
INSTALL= install
DEFS=
DEFS_LOCAL=
DAEMONLIBS=
RESLIB=
COMPAT=
#
INCL=		-I../include
CFLAGS=		$(COPTS) $(DEFS) $(DEFS_LOCAL) $(INCL)
CC=		$(COMPILER)
LIB=		../lib/libntp.a 
LINTLIB=	../lib/llib-llibntp.ln
MAKE=		make
#
SOURCE=	tickadj.c
OBJS=	tickadj.o

all:	$(PROGRAM)

$(PROGRAM): $(OBJS)
	$(CC) $(COPTS) -o $@ $(OBJS) $(DAEMONLIBS) $(RESLIB) $(COMPAT)

install:	$(PROGRAM)
	$(INSTALL) -c -m 0755 $(PROGRAM) $(BINDIR)

tags:
	ctags *.c *.h

depend:
	mkdep $(CFLAGS) $(SOURCE)

clean:
	rm -f $(PROGRAM) *.o *.out tags make.log Makefile.bak lint.errs

distclean:	clean
	rm -f *.orig *.rej Makefile

../lib/libntp.a:
	cd ../lib ; $(MAKE) $(MFLAGS)

