annotate postproc/Makefile @ 2504:13e1c5ab417a

vo_vesa: rgb2rgb support
author nick
date Sun, 28 Oct 2001 10:17:57 +0000
parents ec8ff6ea4af6
children ae79207a3055
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
1
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
2 include ../config.mak
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
3
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
4 LIBNAME = libpostproc.a
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
2504
13e1c5ab417a vo_vesa: rgb2rgb support
nick
parents: 2444
diff changeset
6 SRCS=postprocess.c swscale.c rgb2rgb.c
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
8
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
9 CFLAGS = $(OPTFLAGS) -I. -I.. -Wall
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
10 # -I/usr/X11R6/include/
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
11
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
12 .SUFFIXES: .c .o
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
13
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
14 # .PHONY: all clean
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
15
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
16 .c.o:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
17 $(CC) -c $(CFLAGS) -o $@ $<
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
18
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
19 $(LIBNAME): $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
20 $(AR) r $(LIBNAME) $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
21
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
22 all: $(LIBNAME)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
23
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
24 clean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
25 rm -f *.o *.a *~
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
26
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
27 distclean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 rm -f Makefile.bak *.o *.a *~ .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
29
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
30 dep: depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
31
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
32 depend:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
34
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
35 #
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
36 # include dependency files if they exist
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
37 #
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
38 ifneq ($(wildcard .depend),)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
39 include .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
40 endif