2008-10-20 02:05:19 +04:00
|
|
|
# $NetBSD: Makefile.videomode,v 1.2 2008/10/19 22:05:23 apb Exp $
|
2006-03-04 05:34:27 +03:00
|
|
|
#
|
|
|
|
# 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"
|
|
|
|
|
2008-10-20 02:05:19 +04:00
|
|
|
.include <bsd.own.mk>
|
2006-03-04 05:34:27 +03:00
|
|
|
|
|
|
|
videomode.c: modelines modelines2c.awk
|
|
|
|
/bin/rm -f videomode.c
|
2008-10-20 02:05:19 +04:00
|
|
|
${TOOL_AWK} -f modelines2c.awk modelines > videomode.c
|
2006-03-04 05:34:27 +03:00
|
|
|
|
|
|
|
test: videomode.c videomode.h test.c
|
|
|
|
${CC} -I ../../ -o test test.c videomode.c
|