Add CLEANFILES to relevant Makefile.am to force removal of Windows EXEs.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 23 Mar 2013 11:24:47 +0000 (22:24 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 29 Mar 2013 10:25:59 +0000 (21:25 +1100)
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.

src/flac/Makefile.am
src/metaflac/Makefile.am
src/test_grabbag/cuesheet/Makefile.am
src/test_grabbag/picture/Makefile.am
src/test_libFLAC++/Makefile.am
src/test_libFLAC/Makefile.am
src/test_seeking/Makefile.am
src/test_streams/Makefile.am

index 44ac91e..1ddd3ce 100644 (file)
@@ -53,3 +53,5 @@ flac_LDADD = \
        @OGG_LIBS@ \
        @LIBICONV@ \
        -lm
+
+CLEANFILES = flac.exe
index b96bafa..3cda2a2 100644 (file)
@@ -50,3 +50,5 @@ metaflac_LDADD = \
        @OGG_LIBS@ \
        @LIBICONV@ \
        -lm
+
+CLEANFILES = metaflac.exe
index cb3cf51..2b240e1 100644 (file)
@@ -29,3 +29,5 @@ test_cuesheet_LDADD = \
        $(top_builddir)/src/libFLAC/libFLAC.la \
        @OGG_LIBS@ \
        -lm
+
+CLEANFILES = test_cuesheet.exe
index 0a57adf..d40eb68 100644 (file)
@@ -29,3 +29,5 @@ test_picture_LDADD = \
        $(top_builddir)/src/libFLAC/libFLAC.la \
        @OGG_LIBS@ \
        -lm
+
+CLEANFILES = test_picture.exe
index b87c96c..c9fec78 100644 (file)
@@ -40,3 +40,5 @@ test_libFLAC___SOURCES = \
        decoders.h \
        encoders.h \
        metadata.h
+
+CLEANFILES = test_libFLAC++.exe
index fec5311..e6136e7 100644 (file)
@@ -44,3 +44,5 @@ test_libFLAC_SOURCES = \
        encoders.h \
        format.h \
        metadata.h
+
+CLEANFILES = test_libFLAC.exe
index 22e8aa8..806f3a1 100644 (file)
@@ -31,3 +31,5 @@ test_seeking_LDADD = \
 
 test_seeking_SOURCES = \
        main.c
+
+CLEANFILES = test_seeking.exe
index 5bda8f8..de0d693 100644 (file)
@@ -25,3 +25,5 @@ test_streams_SOURCES = \
        main.c
 
 test_streams_LDADD =  $(top_builddir)/src/share/grabbag/libgrabbag.la -lm
+
+CLEANFILES = test_streams.exe