freebsd-skq/lkm/joy/Makefile
1997-02-22 12:49:29 +00:00

20 lines
312 B
Makefile

# $Id$
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = joy_mod
SRCS = joy.c joy.h
MAN8 = joy.8
CFLAGS += -I. -DJOY_MODULE
CLEANFILES += joy.h
joy.h:
echo "#define NJOY 1" > joy.h
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/joy ${DESTDIR}/usr/bin
.include <bsd.kmod.mk>