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