summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2013-03-23 22:24:47 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-03-29 21:25:59 +1100
commite14a08766adcf3f9abffd6b99a107b562c3c3132 (patch)
tree01b2369e39e1c484c98a01df5243657ebb52b867
parentb3dab5416d016bfa657f6d310165c6c754ba46da (diff)
downloadflac-e14a08766adcf3f9abffd6b99a107b562c3c3132.tar.gz
Add CLEANFILES to relevant Makefile.am to force removal of Windows EXEs.
This ensures they are removed even we've cross-compiled from Linux to Windows and then configured for Linux. We don't want the Windows EXEs to be run after configuring for Linux.
-rw-r--r--src/flac/Makefile.am2
-rw-r--r--src/metaflac/Makefile.am2
-rw-r--r--src/test_grabbag/cuesheet/Makefile.am2
-rw-r--r--src/test_grabbag/picture/Makefile.am2
-rw-r--r--src/test_libFLAC++/Makefile.am2
-rw-r--r--src/test_libFLAC/Makefile.am2
-rw-r--r--src/test_seeking/Makefile.am2
-rw-r--r--src/test_streams/Makefile.am2
8 files changed, 16 insertions, 0 deletions
diff --git a/src/flac/Makefile.am b/src/flac/Makefile.am
index 44ac91e8..1ddd3ce5 100644
--- a/src/flac/Makefile.am
+++ b/src/flac/Makefile.am
@@ -53,3 +53,5 @@ flac_LDADD = \
@OGG_LIBS@ \
@LIBICONV@ \
-lm
+
+CLEANFILES = flac.exe
diff --git a/src/metaflac/Makefile.am b/src/metaflac/Makefile.am
index b96bafa2..3cda2a2f 100644
--- a/src/metaflac/Makefile.am
+++ b/src/metaflac/Makefile.am
@@ -50,3 +50,5 @@ metaflac_LDADD = \
@OGG_LIBS@ \
@LIBICONV@ \
-lm
+
+CLEANFILES = metaflac.exe
diff --git a/src/test_grabbag/cuesheet/Makefile.am b/src/test_grabbag/cuesheet/Makefile.am
index cb3cf510..2b240e12 100644
--- a/src/test_grabbag/cuesheet/Makefile.am
+++ b/src/test_grabbag/cuesheet/Makefile.am
@@ -29,3 +29,5 @@ test_cuesheet_LDADD = \
$(top_builddir)/src/libFLAC/libFLAC.la \
@OGG_LIBS@ \
-lm
+
+CLEANFILES = test_cuesheet.exe
diff --git a/src/test_grabbag/picture/Makefile.am b/src/test_grabbag/picture/Makefile.am
index 0a57adf0..d40eb689 100644
--- a/src/test_grabbag/picture/Makefile.am
+++ b/src/test_grabbag/picture/Makefile.am
@@ -29,3 +29,5 @@ test_picture_LDADD = \
$(top_builddir)/src/libFLAC/libFLAC.la \
@OGG_LIBS@ \
-lm
+
+CLEANFILES = test_picture.exe
diff --git a/src/test_libFLAC++/Makefile.am b/src/test_libFLAC++/Makefile.am
index b87c96cb..c9fec783 100644
--- a/src/test_libFLAC++/Makefile.am
+++ b/src/test_libFLAC++/Makefile.am
@@ -40,3 +40,5 @@ test_libFLAC___SOURCES = \
decoders.h \
encoders.h \
metadata.h
+
+CLEANFILES = test_libFLAC++.exe
diff --git a/src/test_libFLAC/Makefile.am b/src/test_libFLAC/Makefile.am
index fec53113..e6136e7a 100644
--- a/src/test_libFLAC/Makefile.am
+++ b/src/test_libFLAC/Makefile.am
@@ -44,3 +44,5 @@ test_libFLAC_SOURCES = \
encoders.h \
format.h \
metadata.h
+
+CLEANFILES = test_libFLAC.exe
diff --git a/src/test_seeking/Makefile.am b/src/test_seeking/Makefile.am
index 22e8aa81..806f3a15 100644
--- a/src/test_seeking/Makefile.am
+++ b/src/test_seeking/Makefile.am
@@ -31,3 +31,5 @@ test_seeking_LDADD = \
test_seeking_SOURCES = \
main.c
+
+CLEANFILES = test_seeking.exe
diff --git a/src/test_streams/Makefile.am b/src/test_streams/Makefile.am
index 5bda8f8c..de0d6935 100644
--- a/src/test_streams/Makefile.am
+++ b/src/test_streams/Makefile.am
@@ -25,3 +25,5 @@ test_streams_SOURCES = \
main.c
test_streams_LDADD = $(top_builddir)/src/share/grabbag/libgrabbag.la -lm
+
+CLEANFILES = test_streams.exe