Mercurial > mplayer.hg
comparison postproc/Makefile @ 10174:276403619c9a
cs_test cleanup and fix compilation if gui enabled
author | alex |
---|---|
date | Fri, 23 May 2003 20:29:36 +0000 |
parents | 988c2ffc5bc1 |
children | 5fd0864becc3 |
comparison
equal
deleted
inserted
replaced
10173:5c3a8881adc4 | 10174:276403619c9a |
---|---|
3 | 3 |
4 SWSLIB = libswscale.a | 4 SWSLIB = libswscale.a |
5 | 5 |
6 SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c | 6 SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c |
7 SWSOBJS=$(SWSSRCS:.c=.o) | 7 SWSOBJS=$(SWSSRCS:.c=.o) |
8 CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o ../libvo/aclib.o | |
9 | 8 |
10 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) | 9 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) |
11 # -I/usr/X11R6/include/ | 10 # -I/usr/X11R6/include/ |
12 | 11 |
13 .SUFFIXES: .c .o | 12 .SUFFIXES: .c .o |
31 dep: depend | 30 dep: depend |
32 | 31 |
33 depend: | 32 depend: |
34 $(CC) -MM $(CFLAGS) $(SWSSRCS) 1>.depend | 33 $(CC) -MM $(CFLAGS) $(SWSSRCS) 1>.depend |
35 | 34 |
36 cs_test: $(CS_TEST_OBJS) | 35 cs_test: cs_test.o $(SWSLIB) |
37 $(CC) $(CS_TEST_OBJS) -o cs_test | 36 $(CC) cs_test.o $(SWSLIB) ../cpudetect.o -DFOR_MENCODER ../mp_msg.c -o cs_test -W -Wall |
38 | 37 |
39 swscale-example: swscale-example.o $(SWSLIB) | 38 swscale-example: swscale-example.o $(SWSLIB) |
40 $(CC) swscale-example.o $(SWSLIB) ../libmpcodecs/img_format.o -lm -o swscale-example -W -Wall | 39 $(CC) swscale-example.o $(SWSLIB) ../libmpcodecs/img_format.o -lm -o swscale-example -W -Wall |
41 # | 40 # |
42 # include dependency files if they exist | 41 # include dependency files if they exist |