FOURCC removed, using ff_get_fourcc instead (should be big-endian safe), workarounded...
[libav.git] / postproc / Makefile
CommitLineData
44d01eea
NK
1
2include ../config.mak
3
4LIBNAME = libpostproc.a
5
6611aa83 6SRCS=postprocess.c swscale.c rgb2rgb.c yuv2rgb.c
44d01eea 7OBJS=$(SRCS:.c=.o)
a28ea2c0 8CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o
44d01eea 9
b77eec85 10CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC)
44d01eea
NK
11# -I/usr/X11R6/include/
12
13.SUFFIXES: .c .o
14
15# .PHONY: all clean
16
17.c.o:
18 $(CC) -c $(CFLAGS) -o $@ $<
19
20$(LIBNAME): $(OBJS)
21 $(AR) r $(LIBNAME) $(OBJS)
22
23all: $(LIBNAME)
24
25clean:
26 rm -f *.o *.a *~
27
28distclean:
29 rm -f Makefile.bak *.o *.a *~ .depend
30
31dep: depend
32
33depend:
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
35
a28ea2c0
MN
36cs_test: $(CS_TEST_OBJS)
37 $(CC) $(CS_TEST_OBJS) -o cs_test
38
44d01eea
NK
39#
40# include dependency files if they exist
41#
42ifneq ($(wildcard .depend),)
43include .depend
44endif