From 2daac503a3a2f149f883db7c30199ebbb1f00c7f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 16 Nov 2010 19:26:53 +0000 Subject: cleaned up autoconf/automake project files, this should solve build order and dependency issues --- src/game/example/Makefile.am | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'src/game/example') diff --git a/src/game/example/Makefile.am b/src/game/example/Makefile.am index bb285eb..99dec0a 100644 --- a/src/game/example/Makefile.am +++ b/src/game/example/Makefile.am @@ -1,6 +1,21 @@ -INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/game METASOURCES = AUTO -libexample_la_LDFLAGS = -avoid-version +INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/game + noinst_LTLIBRARIES = libexample.la -noinst_HEADERS = example.h spectator.h -libexample_la_SOURCES = example.cc spectator.cc +noinst_HEADERS = \ + example.h \ + spectator.h + +libexample_la_SOURCES = \ + example.cc \ + spectator.cc + +libexample_la_DEPENDENCIES = \ + $(top_builddir)/src/auxiliary/libauxiliary.la \ + $(top_builddir)/src/math/libmath.la \ + $(top_builddir)/src/sys/libsys.la \ + $(top_builddir)/src/filesystem/libfilesystem.la \ + $(top_builddir)/src/model/libmodel.la \ + $(top_builddir)/src/core/libcore.la + +libexample_la_LDFLAGS = -avoid-version -no-undefined -- cgit v1.2.3