summaryrefslogtreecommitdiff
path: root/examples/cpp/decode/file/Makefile.lite
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cpp/decode/file/Makefile.lite')
-rw-r--r--examples/cpp/decode/file/Makefile.lite4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/cpp/decode/file/Makefile.lite b/examples/cpp/decode/file/Makefile.lite
index ea6c5e23..b5bf565a 100644
--- a/examples/cpp/decode/file/Makefile.lite
+++ b/examples/cpp/decode/file/Makefile.lite
@@ -30,8 +30,12 @@ INCLUDES = -I$(topdir)/include
ifeq ($(OS),Darwin)
EXPLICIT_LIBS = $(libdir)/libFLAC++.a $(libdir)/libFLAC.a $(OGG_EXPLICIT_LIBS) -lm
else
+ifeq ($(findstring Windows,$(OS)),Windows)
+ LIBS = -lFLAC++ -lFLAC -lwin_utf8_io $(OGG_LIBS) -lm
+else
LIBS = -lFLAC++ -lFLAC $(OGG_LIBS) -lm
endif
+endif
SRCS_CPP = main.cpp