808a36ef65
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
20 lines
317 B
Makefile
20 lines
317 B
Makefile
# $FreeBSD$
|
|
|
|
.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>
|