summaryrefslogtreecommitdiff
path: root/Makefile.deps
diff options
context:
space:
mode:
authorEvan Ramos <Hendricks266@gmail.com>2014-06-23 16:24:49 -0500
committerErik de Castro Lopo <erikd@mega-nerd.com>2014-06-24 21:02:24 +1000
commit9df6736ec09f9de05425ba38d7f63648b1242f98 (patch)
treeb247c41a4c3b550e673016416dd9c0a849611ebe /Makefile.deps
parent731655ad23b4393c7a0d1c69a755e1a9e369d920 (diff)
downloadflac-9df6736ec09f9de05425ba38d7f63648b1242f98.tar.gz
Update Makefile.lite build system.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'Makefile.deps')
-rw-r--r--Makefile.deps11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.deps b/Makefile.deps
index a3e2d39b..60294463 100644
--- a/Makefile.deps
+++ b/Makefile.deps
@@ -16,6 +16,17 @@
# restrictive of those mentioned above. See the file COPYING.Xiph in this
# distribution.
+ifeq ($(findstring Windows,$(OS)),Windows) # "Windows" is provided by GNU Make's internal $(OS)
+ LIBFLAC_DEPS = share/win_utf8_io
+else
+ifeq ($(findstring MINGW,$(OS)),MINGW) # "MINGW" is provided by config.mk's `uname -s`
+ LIBFLAC_DEPS = share/win_utf8_io
+else
+ LIBFLAC_DEPS =
+endif
+endif
+
+libFLAC: $(LIBFLAC_DEPS)
flac: libFLAC share
libFLAC++: libFLAC
metaflac: libFLAC share