add -T, --tag options
[flac.git] / src / flac / Makefile.lite
index c1ac1a3..fc3088f 100644 (file)
 PROGRAM_NAME = flac
 ifeq ($(DARWIN_BUILD),yes)
 INCLUDES     = -I./include -I../../include
-LIBS         = -lFLAC -lc -lm
+LIBS         = -lFLAC -lgetopt -lutf8 -lc -lm
 else
 #@@@ TODO: conditionalize ogg includes, defines, and -logg
 ifeq ($(SOLARIS_BUILD),yes)
 INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
-LIBS         = -lOggFLAC -lFLAC -lm -L$(HOME)/local/lib -logg
+LIBS         = -lOggFLAC -lFLAC -lgetopt -lutf8 -lm -L$(HOME)/local/lib -logg
 else
 #@@@ TODO: conditionalize ogg includes, defines, and -logg
 INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
-LIBS         = -lOggFLAC -lFLAC -lm -L$(HOME)/local/lib -logg
+LIBS         = -lOggFLAC -lFLAC -lgetopt -lutf8 -lm -L$(HOME)/local/lib -logg
 endif
 endif
 
@@ -40,7 +40,8 @@ OBJS = \
        decode.o \
        encode.o \
        file.o \
-       main.o
+       main.o \
+       vorbiscomment.o
 
 include ../../build/exe.mk