Enable subdir-objects to avoid automake warnings

Avoid warning:
src/bin/Makefile.am:18: warning: source file '$(builddir)/game_world.c'
  is in a subdirectory,
src/bin/Makefile.am:18: but option 'subdir-objects' is disabled
[...]
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
This commit is contained in:
Bruno Dilly 2016-10-17 12:26:30 -02:00
parent 915820886f
commit 65575a6c1b
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_ISC_POSIX
AM_INIT_AUTOMAKE(1.6 dist-bzip2)
AM_INIT_AUTOMAKE(1.6 dist-bzip2 subdir-objects)
AC_CONFIG_HEADERS(config.h)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

View File

@ -16,13 +16,13 @@ bin_PROGRAMS += efbb_ql
endif
GAME_SOURCES = \
$(builddir)/game_world.c \
game_world.c \
main.c \
main_screen.c \
level_select_screen.c \
cannon.c \
sound.c \
score.c \
score.c \
bg.c
efbb_LDADD = @EFBB_LIBS@