xref: /freebsd/share/examples/kld/cdev/module/Makefile (revision a220d00e74dd245b4fca59c5eca0c53963686325)
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