$NetBSD: patch-ai,v 1.1 2004/01/20 02:48:33 jschauma Exp $ --- progs/samples/Makefile.X11.orig 2003-10-03 10:03:16.000000000 -0400 +++ progs/samples/Makefile.X11 2004-01-19 20:53:56.000000000 -0500 @@ -7,11 +7,11 @@ INCDIR = $(TOP)/include LIBDIR = $(TOP)/lib -LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) +LIBS+= -L$(LIBDIR) $(APP_LIB_DEPS) -lGL -lGLU -lglut LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) -PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \ +PROGS = accum bitmap1 bitmap2 blendeq copy cursor depth eval fog \ font line logo nurb oglinfo olympic overlay point prim quad select \ shape sphere star stencil stretch texture tri wave @@ -22,7 +22,7 @@ .SUFFIXES: .c .c: $(LIB_DEP) - $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ + $(CXX) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@