Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
[flac.git] / src / test_grabbag / cuesheet / Makefile.lite
index 9ffe8f2..ae3379b 100644 (file)
@@ -27,9 +27,9 @@ PROGRAM_NAME = test_cuesheet
 INCLUDES = -I./include -I$(topdir)/include
 
 ifeq ($(OS),Darwin)
-EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a $(libdir)/libFLAC.a $(OGG_LIB_DIR)/libogg.a -lm
+    EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a $(libdir)/libFLAC.a $(OGG_EXPLICIT_LIBS) -lm
 else
-LIBS = -lgrabbag -lreplaygain_analysis -lFLAC -L$(OGG_LIB_DIR) -logg -lm
+    LIBS = -lgrabbag -lreplaygain_analysis -lFLAC $(OGG_LIBS) -lm
 endif
 
 SRCS_C = \