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