Mercurial > mplayer.hg
annotate postproc/Makefile @ 10393:122564a2df38
-overlapsub clarified (thanks, Rich), -nooverlapsub removed (redundant)
author | diego |
---|---|
date | Mon, 07 Jul 2003 23:02:25 +0000 |
parents | 276403619c9a |
children | 5fd0864becc3 |
rev | line source |
---|---|
2444 | 1 |
2 include ../config.mak | |
3 | |
7946 | 4 SWSLIB = libswscale.a |
2444 | 5 |
7946 | 6 SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c |
7 SWSOBJS=$(SWSSRCS:.c=.o) | |
2444 | 8 |
7073
b69ddd4d3bb9
removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents:
6603
diff
changeset
|
9 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) |
2444 | 10 # -I/usr/X11R6/include/ |
11 | |
12 .SUFFIXES: .c .o | |
13 | |
14 # .PHONY: all clean | |
15 | |
16 .c.o: | |
9402 | 17 $(CC) -c $(CFLAGS) -I.. -o $@ $< |
2444 | 18 |
9426 | 19 all: $(SWSLIB) |
2444 | 20 |
7946 | 21 $(SWSLIB): $(SWSOBJS) |
22 $(AR) r $(SWSLIB) $(SWSOBJS) | |
2444 | 23 |
24 clean: | |
7946 | 25 rm -f *.o *.a *~ *.so |
2444 | 26 |
27 distclean: | |
7946 | 28 rm -f Makefile.bak *.o *.a *~ *.so .depend |
2444 | 29 |
30 dep: depend | |
31 | |
32 depend: | |
9885
98712065a08d
10l patch by (Andreas Hess <jaska at gmx dot net>)
michael
parents:
9426
diff
changeset
|
33 $(CC) -MM $(CFLAGS) $(SWSSRCS) 1>.depend |
2444 | 34 |
10174 | 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 | |
6603
6eab60ea6c11
colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents:
3143
diff
changeset
|
37 |
9921
61057de81510
mplayer idependant (not really yet) swscale example
michael
parents:
9885
diff
changeset
|
38 swscale-example: swscale-example.o $(SWSLIB) |
9987 | 39 $(CC) swscale-example.o $(SWSLIB) ../libmpcodecs/img_format.o -lm -o swscale-example -W -Wall |
2444 | 40 # |
41 # include dependency files if they exist | |
42 # | |
43 ifneq ($(wildcard .depend),) | |
44 include .depend | |
45 endif |