Changeset 628 for trunk/deushax


Ignore:
Timestamp:
Feb 11, 2011, 1:19:04 PM (10 years ago)
Author:
sam
Message:

Try to autodetect GtkGL development libs, and don't build the Deus Hax
editor if not found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/deushax/Makefile.am

    r623 r628  
    11
    2 noinst_PROGRAMS = deushax editor
     2noinst_PROGRAMS = deushax $(editor)
    33
    44deushax_SOURCES = deushax.cpp game.cpp game.h debugsprite.cpp debugsprite.h
     
    77deushax_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
    88
     9if USE_GTKGL
     10editor = editor
     11endif
     12
    913editor_SOURCES = gtk/editor.cpp gtk/glmapview.cpp gtk/glmapview.h \
    1014                 mapviewer.cpp mapviewer.h
    11 editor_CXXFLAGS = @GTK_CFLAGS@ @LOL_CFLAGS@
     15editor_CXXFLAGS = @GTKGL_CFLAGS@ @GTK_CFLAGS@ @LOL_CFLAGS@
    1216editor_LDADD =
    13 editor_LDFLAGS = $(top_builddir)/src/liblol.a @GTK_LIBS@ @LOL_LIBS@
     17editor_LDFLAGS = $(top_builddir)/src/liblol.a @GTKGL_LIBS@ @GTK_LIBS@ @LOL_LIBS@
    1418EXTRA_DIST = gtk/editor.xml
    1519
Note: See TracChangeset for help on using the changeset viewer.