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