From 63349a6230304a7f1aa34a4c96e4873f86bf39c5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Feb 2013 18:18:07 -0500 Subject: Split Makefile.am in recursively-included files. The modular maintenance benefits of recursive make without any of the problems of recursive make! --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index b7a392e..d2a7843 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,8 @@ bin_PROGRAMS = sdlex -sdlex_SOURCES = src/main.c src/init.c src/logging.c \ - src/base64.c src/compression.c \ - src/tmx.c src/resources/resource.c src/resources/image.c +include $(top_srcdir)/src/Makefile.am + +sdlex_SOURCES = $(src_SOURCES) sdlex_CFLAGS = $(GCC_CFLAGS) \ $(SDL_CFLAGS) \ @@ -14,4 +14,3 @@ sdlex_LDADD = $(SDL_LIBS) \ $(SDL_IMAGE_LIBS) \ $(ZLIB_LIBS) \ $(EXPAT_LIBS) - -- cgit v0.9.1