xref: /freebsd/sys/dev/videomode/Makefile.videomode (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
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