shithub: choc

Download patch

ref: 1360e6abb77d750e61003cef76bb43b2dce53bd1
parent: 5e162ed7e3bb7cc35446eb17aee247890b2c9909
author: Simon Howard <fraggle@soulsphere.org>
date: Mon Feb 15 15:12:38 EST 2016

Fix automake warning by changing variable name.

The _SOURCES suffix has a special meaning in automake rules; change
MUS2MID_SOURCES to MUS2MID_SRC_FILES to avoid automake complaining.

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -279,7 +279,8 @@
 midiread : midifile.c
 	$(CC) -DTEST $(CFLAGS) @LDFLAGS@ midifile.c -o $@
 
-MUS2MID_SOURCES = mus2mid.c memio.c z_native.c i_system.c m_argv.c m_misc.c
-mus2mid : $(MUS2MID_SOURCES)
-	$(CC) -DSTANDALONE -I$(top_builddir) $(CFLAGS) @LDFLAGS@ $(MUS2MID_SOURCES) -o $@
+MUS2MID_SRC_FILES = mus2mid.c memio.c z_native.c i_system.c m_argv.c m_misc.c
+mus2mid : $(MUS2MID_SRC_FILES)
+	$(CC) -DSTANDALONE -I$(top_builddir) $(CFLAGS) @LDFLAGS@ \
+              $(MUS2MID_SRC_FILES) -o $@