Statistics
| Branch: | Revision:

ffmpeg / postproc / Makefile @ 8553d9f4

History | View | Annotate | Download (735 Bytes)

1

    
2
include ../config.mak
3

    
4
SWSLIB = libswscale.a
5

    
6
SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c
7
SWSOBJS=$(SWSSRCS:.c=.o)
8
CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o ../libvo/aclib.o
9

    
10
CFLAGS  = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC)
11
# -I/usr/X11R6/include/
12

    
13
.SUFFIXES: .c .o
14

    
15
# .PHONY: all clean
16

    
17
.c.o:
18
	$(CC) -c $(CFLAGS) -I.. -o $@ $<
19

    
20
all:    $(SWSLIB)
21

    
22
$(SWSLIB):     $(SWSOBJS)
23
	$(AR) r $(SWSLIB) $(SWSOBJS)
24

    
25
clean:
26
	rm -f *.o *.a *~ *.so
27

    
28
distclean:
29
	rm -f Makefile.bak *.o *.a *~ *.so .depend
30

    
31
dep:    depend
32

    
33
depend:
34
	$(CC) -MM $(CFLAGS) $(SWSSRCS) 1>.depend
35

    
36
cs_test: $(CS_TEST_OBJS)
37
	$(CC) $(CS_TEST_OBJS) -o cs_test
38

    
39
#
40
# include dependency files if they exist
41
#
42
ifneq ($(wildcard .depend),)
43
include .depend
44
endif