Add PIX_FMT_PAL8 to isPacked().
[ffmpeg.git] / libswscale / Makefile
index d9b67da..a1c25a7 100644 (file)
@@ -2,10 +2,8 @@
 include ../config.mak
 
 NAME=swscale
-ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(SWSVERSION)
 LIBMAJOR=$(SWSMAJOR)
-endif
 
 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
 
@@ -18,9 +16,9 @@ HEADERS = swscale.h rgb2rgb.h
 
 include ../common.mak
 
-cs_test: cs_test.c $(LIB)
+cs_test: cs_test.o $(LIB)
 
-swscale-example: swscale-example.o $(LIB)
+swscale-example: swscale-example.o $(LIB) -lm
 
 clean::
        rm -f cs_test swscale-example