vaccinewars

be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars # fast
git clone https://src.adamsgaard.dk/vaccinewars.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 4ac9c44d25637f83e734af4c03e62763b9f190af
parent 69a2cd903e087714757e3f8f39443b09ce0518c4
Author: Ben Webb <ben@salilab.org>
Date:   Sat, 13 Feb 2021 18:51:42 -0800

More out-of-tree build support

Make sure that the GUI client and the cursesport code
can also find top-level headers when built out of tree.

Diffstat:
Msrc/cursesport/Makefile.am | 2+-
Msrc/gtkport/Makefile.am | 2+-
Msrc/gui_client/Makefile.am | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cursesport/Makefile.am b/src/cursesport/Makefile.am @@ -1,4 +1,4 @@ noinst_LIBRARIES = libcursesport.a libcursesport_a_SOURCES = cursesport.c cursesport.h -AM_CPPFLAGS= -I${srcdir} @GLIB_CFLAGS@ +AM_CPPFLAGS= -I${srcdir} -I$(top_srcdir)/src @GLIB_CFLAGS@ DEFS = @DEFS@ diff --git a/src/gtkport/Makefile.am b/src/gtkport/Makefile.am @@ -2,5 +2,5 @@ noinst_LIBRARIES = libgtkport.a libgtkport_a_SOURCES = gtkport.c gtkport.h gtkenums.h \ unicodewrap.c unicodewrap.h treeview.h treeview.c \ itemfactory.c itemfactory.h gtktypes.h -AM_CPPFLAGS= -I${srcdir} @GTK_CFLAGS@ @GLIB_CFLAGS@ +AM_CPPFLAGS= -I${srcdir} -I$(top_srcdir)/src @GTK_CFLAGS@ @GLIB_CFLAGS@ DEFS = @DEFS@ diff --git a/src/gui_client/Makefile.am b/src/gui_client/Makefile.am @@ -2,5 +2,5 @@ noinst_LIBRARIES = libguiclient.a libguiclient_a_SOURCES = gtk_client.c gtk_client.h \ optdialog.c optdialog.h \ newgamedia.c newgamedia.h dopewars-pill.xpm -AM_CPPFLAGS= -I${srcdir} @GTK_CFLAGS@ @GLIB_CFLAGS@ +AM_CPPFLAGS= -I${srcdir} -I$(top_srcdir)/src @GTK_CFLAGS@ @GLIB_CFLAGS@ DEFS = @DEFS@