Mercurial > mplayer.hg
annotate loader/dmo/Makefile @ 18388:afcecc96ed2d
fix the warning generated (in gcc4) by the 'inline' keyword position.
patch by Pierre Lombard
author | iive |
---|---|
date | Fri, 05 May 2006 11:13:08 +0000 |
parents | c127ce678083 |
children | 7a9a9748e045 |
rev | line source |
---|---|
8294 | 1 |
2 LIBNAME = libDMO_Filter.a | |
3 | |
4 include ../../config.mak | |
5 | |
6 # DS_AudioDec.c | |
17943
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
7 SRCS = DMO_AudioDecoder.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
8 DMO_VideoDecoder.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
9 buffer.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
10 dmo.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
11 dmo_guids.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
12 |
8294 | 13 OBJS = $(SRCS:.c=.o) |
14 | |
15 INCLUDE = -I. -I../dshow -I.. $(EXTRA_INC) | |
16 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DNOAVIFILE_HEADERS | |
17 | |
18 .SUFFIXES: .c .o | |
19 | |
20 # .PHONY: all clean | |
21 | |
22 .c.o: | |
23 $(CC) -c $(CFLAGS) -o $@ $< | |
24 | |
25 $(LIBNAME): $(OBJS) | |
26 $(AR) r $(LIBNAME) $(OBJS) | |
27 | |
28 test: test.c $(LIBNAME) | |
29 $(CC) test.c $(CFLAGS) -o test ./libDMO_Filter.a ../libloader.a $(ARCH_LIBS) -lstdc++ | |
30 | |
31 all: $(LIBNAME) | |
32 | |
33 clean: | |
34 rm -f *.o *.a *~ | |
35 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
8325
diff
changeset
|
36 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
8325
diff
changeset
|
37 rm -f .depend test test.raw |
8294 | 38 |
39 dep: depend | |
40 | |
41 depend: | |
42 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
43 | |
44 # | |
45 # include dependency files if they exist | |
46 # | |
47 ifneq ($(wildcard .depend),) | |
48 include .depend | |
49 endif | |
50 |