29 lines
513 B
Makefile
29 lines
513 B
Makefile
#
|
|
# $Id: Makefile,v 1.4 1996/06/24 04:26:17 jkh Exp $
|
|
#
|
|
|
|
CFLAGS+= -I${.CURDIR}/../include
|
|
|
|
.if exists(${.OBJDIR}/../lib)
|
|
LDADD+= -L${.OBJDIR}/../lib
|
|
DPADD+= ${.OBJDIR}/../lib/libntp.a
|
|
.else
|
|
LDADD+= -L${.CURDIR}/../lib
|
|
DPADD+= ${.CURDIR}/../lib/libntp.a
|
|
.endif
|
|
|
|
LDADD+= -lntp
|
|
|
|
PROG= tickadj
|
|
MAN8= ${.CURDIR}/../doc/tickadj.8
|
|
CLEANFILES+= .version version.c
|
|
|
|
SRCS= tickadj.c version.c
|
|
|
|
beforedepend: version.c
|
|
|
|
version.c: ${.CURDIR}/../VERSION
|
|
sh -e ${.CURDIR}/../scripts/mkversion tickadj
|
|
|
|
.include <bsd.prog.mk>
|