annotate libpostproc/Makefile @ 610:015b33f3e750 libavcodec

removed -W -Wall -g and other gcc-specific warning/debug options patch by Joey Parrish <joey@yunamusic.com>
author arpi
date Thu, 22 Aug 2002 23:29:45 +0000
parents 8f9fa4ec9cbb
children 4914252c963a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
1
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
2 include ../config.mak
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
3
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
4 LIBNAME = libpostproc.a
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
147
598fdb31f213 Move yuv2rgb to postprocess
nick
parents: 139
diff changeset
6 SRCS=postprocess.c swscale.c rgb2rgb.c yuv2rgb.c
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
508
8f9fa4ec9cbb colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 170
diff changeset
8 CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
9
610
015b33f3e750 removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents: 508
diff changeset
10 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC)
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
11 # -I/usr/X11R6/include/
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
12
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
13 .SUFFIXES: .c .o
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
14
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
15 # .PHONY: all clean
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
16
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
17 .c.o:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
18 $(CC) -c $(CFLAGS) -o $@ $<
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
19
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
20 $(LIBNAME): $(OBJS)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
21 $(AR) r $(LIBNAME) $(OBJS)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
22
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
23 all: $(LIBNAME)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
24
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
25 clean:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
26 rm -f *.o *.a *~
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
27
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 distclean:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
29 rm -f Makefile.bak *.o *.a *~ .depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
30
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
31 dep: depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
32
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
33 depend:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
35
508
8f9fa4ec9cbb colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 170
diff changeset
36 cs_test: $(CS_TEST_OBJS)
8f9fa4ec9cbb colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 170
diff changeset
37 $(CC) $(CS_TEST_OBJS) -o cs_test
8f9fa4ec9cbb colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 170
diff changeset
38
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
39 #
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
40 # include dependency files if they exist
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
41 #
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
42 ifneq ($(wildcard .depend),)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
43 include .depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
44 endif