18 lines
561 B
Text
18 lines
561 B
Text
|
# $NetBSD: Makefile.videomode,v 1.2 2008/10/19 22:05:23 apb Exp $
|
||
|
#
|
||
|
# As per tron@NetBSD.org, the proper procedure is
|
||
|
#
|
||
|
# 1.) Change "src/sys/dev/videomode/modelines".
|
||
|
# 2.) Commit "src/sys/dev/videomode/modelines".
|
||
|
# 3.) Execute "make -f Makefile.videomode" in "src/sys/dev/videomode".
|
||
|
# 4.) Commit "src/sys/dev/videomode/videomode.c"
|
||
|
|
||
|
.include <bsd.own.mk>
|
||
|
|
||
|
videomode.c: modelines modelines2c.awk
|
||
|
/bin/rm -f videomode.c
|
||
|
${TOOL_AWK} -f modelines2c.awk modelines > videomode.c
|
||
|
|
||
|
test: videomode.c videomode.h test.c
|
||
|
${CC} -I ../../ -o test test.c videomode.c
|