summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-23 20:29:36 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-23 20:29:36 +0000
commit19f9854df0d40b34ec46b774c67da658c9846aa0 (patch)
tree79e52c6376f4e3ca5d4d3988209e3aa11141173d /postproc
parent990c6b74db592cf8db1ebfe5e7b84c19d220f5b4 (diff)
downloadmpv-19f9854df0d40b34ec46b774c67da658c9846aa0.tar.bz2
mpv-19f9854df0d40b34ec46b774c67da658c9846aa0.tar.xz
cs_test cleanup and fix compilation if gui enabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10175 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/postproc/Makefile b/postproc/Makefile
index c6b5896316..78e0b7e6fd 100644
--- a/postproc/Makefile
+++ b/postproc/Makefile
@@ -5,7 +5,6 @@ SWSLIB = libswscale.a
SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c
SWSOBJS=$(SWSSRCS:.c=.o)
-CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o ../libvo/aclib.o
CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC)
# -I/usr/X11R6/include/
@@ -33,8 +32,8 @@ dep: depend
depend:
$(CC) -MM $(CFLAGS) $(SWSSRCS) 1>.depend
-cs_test: $(CS_TEST_OBJS)
- $(CC) $(CS_TEST_OBJS) -o cs_test
+cs_test: cs_test.o $(SWSLIB)
+ $(CC) cs_test.o $(SWSLIB) ../cpudetect.o -DFOR_MENCODER ../mp_msg.c -o cs_test -W -Wall
swscale-example: swscale-example.o $(SWSLIB)
$(CC) swscale-example.o $(SWSLIB) ../libmpcodecs/img_format.o -lm -o swscale-example -W -Wall