6 SWSSRCS
=swscale.c rgb2rgb.c yuv2rgb.c
7 SWSOBJS
=$(SWSSRCS
:.c
=.o
)
9 CFLAGS
= $(OPTFLAGS
) $(MLIB_INC
) -I.
-I..
$(EXTRA_INC
)
10 # -I/usr/X11R6/include/
17 $(CC
) -c
$(CFLAGS
) -I..
-o
$@
$<
22 $(AR
) r
$(SWSLIB
) $(SWSOBJS
)
25 rm -f
*.o
*.a
*~
*.so cs_test swscale-example
28 rm -f Makefile.bak
*.o
*.a
*~
*.so .depend cs_test swscale-example
33 $(CC
) -MM
$(CFLAGS
) $(SWSSRCS
) 1>.depend
35 cs_test
: cs_test.o
$(SWSLIB
)
36 $(CC
) cs_test.o
$(SWSLIB
) ..
/cpudetect.o
-DFOR_MENCODER ..
/mp_msg.c
-o cs_test
-W
-Wall
38 swscale-example
: swscale-example.o
$(SWSLIB
)
39 $(CC
) swscale-example.o
$(SWSLIB
) ..
/libmpcodecs
/img_format.o
-lm
-o swscale-example
-W
-Wall
41 # include dependency files if they exist
43 ifneq ($(wildcard .depend
),)