summaryrefslogtreecommitdiff
path: root/app/glxgears/Makefile
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 11:24:34 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 11:24:34 +0000
commit612df57d1b528619b936fd3c842c751d8ec5efcd (patch)
treea2a145be990b15ddd8dc81f30f817029711f70ed /app/glxgears/Makefile
parentd0bc8d96d970d51086819e5c75a32c2096a2bf3c (diff)
Makefiles for GL programs
Diffstat (limited to 'app/glxgears/Makefile')
-rw-r--r--app/glxgears/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/glxgears/Makefile b/app/glxgears/Makefile
new file mode 100644
index 000000000..fbeddea39
--- /dev/null
+++ b/app/glxgears/Makefile
@@ -0,0 +1,17 @@
+# $Xenocara$
+.include <bsd.own.mk>
+X11BASE?= /usr/X11R6
+DIST= ${XENOCARA_TOP}/dist/Mesa
+GLXGEARS= ${DIST}/progs/xdemos
+MANDIR= ${X11BASE}/man/cat
+
+PROG= glxgears
+
+CPPFLAGS+= -I${X11BASE}/include
+LDADD+= -L${X11BASE}/lib -lGL -lXext -lX11 -lm
+
+.include <bsd.prog.mk>
+.include <bsd.xorg.mk>
+
+.PATH: ${GLXGEARS}
+