ref: f6581c534ca2550fecacb457b791ff45e983be88
parent: 9f9d647297e57fd31f576ef41315266d6a27f94b
author: Mike Swanson <mikeonthecomputer@gmail.com>
date: Sun Feb 26 09:18:20 EST 2017
midiproc: Change name to @PROGRAM_PREFIX@midiproc in automake
--- a/midiproc/Makefile.am
+++ b/midiproc/Makefile.am
@@ -3,9 +3,9 @@
if HAVE_WINDRES
-noinst_PROGRAMS = midiproc
+noinst_PROGRAMS = @PROGRAM_PREFIX@midiproc
-midiproc_LDADD = @SDLMIXER_LIBS@
-midiproc_SOURCES = buffer.c buffer.h main.c
+@PROGRAM_PREFIX@midiproc_LDADD = @SDLMIXER_LIBS@
+@PROGRAM_PREFIX@midiproc_SOURCES = buffer.c buffer.h main.c
endif
--- a/pkg/win32/GNUmakefile
+++ b/pkg/win32/GNUmakefile
@@ -44,8 +44,8 @@
$(TOPLEVEL)/src/$(PROGRAM_PREFIX)setup.exe \
$@/$(PROGRAM_PREFIX)$*-setup.exe
./cp-with-libs --ldflags="$(LDFLAGS)" \
- $(TOPLEVEL)/midiproc/midiproc.exe \
- $@/midiproc.exe
+ $(TOPLEVEL)/midiproc/$(PROGRAM_PREFIX)midiproc.exe \
+ $@/$(PROGRAM_PREFIX)midiproc.exe
$(STRIP) $@/*.exe $@/*.dll