-#
-# Copyright (c) 1980 Regents of the University of California.
-# All rights reserved. The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-# @(#)Makefile 5.2 (Berkeley) %G%
-#
-DESTDIR=
-CFLAGS=-O
-tset: tset.c
- ${CC} ${CFLAGS} tset.c -o tset -ltermlib
-install: tset
- install -s tset ${DESTDIR}/usr/ucb
-clean:
- rm -f *.o tset
+# @(#)Makefile 5.12 (Berkeley) 5/11/90
+
+PROG= tset
+DPADD= ${LIBTERMCAP} ${LIBCOMPAT}
+LDADD= -ltermcap -lcompat
+LINKS= ${BINDIR}/tset ${BINDIR}/reset
+MLINKS= tset.1 reset.1
+
+.include <bsd.prog.mk>