xref: /freebsd/sys/dev/videomode/Makefile.videomode (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1#	$NetBSD: Makefile.videomode,v 1.1 2006/03/04 02:34:27 gdamore Exp $
2#	$FreeBSD$
3#
4# As per tron@NetBSD.org, the proper procedure is
5#
6# 1.) Change "src/sys/dev/videomode/modelines".
7# 2.) Commit "src/sys/dev/videomode/modelines".
8# 3.) Execute "make -f Makefile.videomode" in "src/sys/dev/videomode".
9# 4.) Commit "src/sys/dev/videomode/videomode.c"
10
11.include <bsd.own.mk>
12
13videomode.c: modelines modelines2c.awk
14	/bin/rm -f videomode.c
15	${TOOL_AWK} -f modelines2c.awk modelines > videomode.c
16
17test: videomode.c videomode.h test.c
18	${CC} -I ../../ -o test test.c videomode.c
19