NetBSD/x11/bin/glxinfo/Makefile
lukem a57640993c need -lstdc++ -lm for -lGLU.
(even though the latter is linked against the former two, that technique
doesn't help for static programs nor does it appear to work consistently)
2003-09-23 11:01:20 +00:00

17 lines
370 B
Makefile

# $NetBSD: Makefile,v 1.3 2003/09/23 11:01:20 lukem Exp $
.include <bsd.own.mk>
PROG= glxinfo
CPPFLAGS+=${X11FLAGS.THREADS} -DDO_GLU
LDADD+= -lGLU -lGL -lXext -lX11 -lpthread -lstdc++ -lm
DPADD+= ${LIBGLU} ${LIBGL} ${LIBXEXT} ${LIBX11} ${LIBPTHREAD}
DPADD+= ${LIBSTDCXX} ${LIBM}
.PATH: ${X11SRCDIR.xc}/programs/${PROG}
.include <bsd.x11.mk>
.include <bsd.prog.mk>