xref: /freebsd/share/examples/kld/cdev/module/Makefile (revision 2fb2e1897d269e7ff6db43654cc3a845ab008af6)
1# Makefile for kld char device driver.
2# $FreeBSD$
3
4KMOD=	cdev
5SRCS=	cdev.c cdevmod.c
6
7/dev/cdev:
8	mknod ${.TARGET} c 32 0
9
10un/dev/cdev: .PHONY
11	rm -f /dev/cdev
12
13.include <bsd.kmod.mk>
14
15load: /dev/cdev
16unload: un/dev/cdev
17