[GRASS-dev] lib/nviz/Makefile: Makefile:14: Extraneous text after `else' directive

Markus Neteler neteler at osgeo.org
Mon Nov 24 07:18:51 EST 2008


Hi,

the lib/nviz/Makefile fails with

[neteler at xblade14 nviz]$ make
Makefile:14: Extraneous text after `else' directive
Makefile:17: *** only one `else' per conditional.  Stop.

It reads:

     7  ifeq ($(OPENGL_WINDOWS),1)
     8  EXTRA_LIBS += $(OPENGLLIB) $(OPENGLULIB) -lgdi32
     9  else ifeq ($(OPENGL_X11),1)
    10  EXTRA_LIBS += $(XLIBPATH) $(OPENGLLIB) $(OPENGLULIB)
    11  EXTRA_CFLAGS += $(XCFLAGS)
    12  else
    13  EXTRA_LIBS += $(OPENGLLIB) $(OPENGLULIB)
    14  endif

How to fix this?

thanks
Markus


More information about the grass-dev mailing list