Mercurial > mplayer.hg
annotate loader/dmo/Makefile @ 20158:7297d76977be
gcc 2.95 fix
author | ods15 |
---|---|
date | Wed, 11 Oct 2006 20:53:33 +0000 |
parents | eacc821fd889 |
children | 618d1857f4c4 |
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 | |
19037 | 15 INCLUDE = -I. -I../dshow -I.. |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19037
diff
changeset
|
16 CFLAGS = $(INCLUDE) $(OPTFLAGS) -DNOAVIFILE_HEADERS |
8294 | 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) | |
19496 | 29 $(CC) test.c $(CFLAGS) -o test ./libDMO_Filter.a ../libloader.a -lstdc++ |
8294 | 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 |