fixes from compiling code and running all the tests on NT
[flac.git] / src / flac / Makefile.lite
index 8828499..cdce131 100644 (file)
@@ -1,5 +1,5 @@
 #  flac - Command-line FLAC encoder/decoder
-#  Copyright (C) 2000,2001  Josh Coalson
+#  Copyright (C) 2000,2001,2002  Josh Coalson
 #
 #  This program is free software; you can redistribute it and/or
 #  modify it under the terms of the GNU General Public License
 #
 
 PROGRAM_NAME = flac
-#@@@OGG
-INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLaC__HAS_OGG
-#@@@OGG conditionalize -logg
+ifeq ($(DARWIN_BUILD),yes)
+INCLUDES     = -I./include -I../../include
+LIBS         = -lFLAC -lc -lm
+else
+ifeq ($(SOLARIS_BUILD),yes)
+INCLUDES     = -I./include -I../../include
+LIBS         = -lFLAC -lm
+else
+#@@@ TODO: conditionalize ogg includes, defines, and -logg
+INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
 LIBS         = -lFLAC -lm -L$(HOME)/local/lib -logg
+endif
+endif
 
 OBJS = \
        analyze.o \