Mercurial > mplayer.hg
annotate loader/dshow/Makefile @ 19644:775ac4efed3c
added missing reference to radio.xml
author | Gabrov |
---|---|
date | Sat, 02 Sep 2006 21:04:06 +0000 |
parents | eacc821fd889 |
children | 618d1857f4c4 |
rev | line source |
---|---|
168 | 1 |
2 LIBNAME = libDS_Filter.a | |
3 | |
4 include ../../config.mak | |
5 | |
3063 | 6 # DS_AudioDec.c |
17943
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
7 SRCS = DS_AudioDecoder.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
8 DS_Filter.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
9 DS_VideoDecoder.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
10 allocator.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
11 cmediasample.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
12 guids.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
13 inputpin.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
14 outputpin.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
15 |
3063 | 16 OBJS = $(SRCS:.c=.o) |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
17 |
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
18 # OBJS = DS_AudioDec.o DS_VideoDec.o DS_Filter.o allocator.o cmediasample.o guids.o inputpin.o outputpin.o |
168 | 19 |
19411
45cfff547dbb
consistency cosmetics: Add -DNOAVIFILE_HEADERS to CFLAGS instead of to INCLUDE.
diego
parents:
19037
diff
changeset
|
20 INCLUDE = -I. -I.. |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19411
diff
changeset
|
21 CFLAGS = $(INCLUDE) $(OPTFLAGS) -DNOAVIFILE_HEADERS |
168 | 22 |
3063 | 23 .SUFFIXES: .c .o |
168 | 24 |
25 # .PHONY: all clean | |
26 | |
3063 | 27 .c.o: |
168 | 28 $(CC) -c $(CFLAGS) -o $@ $< |
29 | |
1010 | 30 $(LIBNAME): $(OBJS) |
168 | 31 $(AR) r $(LIBNAME) $(OBJS) |
32 | |
169 | 33 test: test.c $(LIBNAME) |
19496 | 34 $(CC) test.c $(CFLAGS) -o test ./libDS_Filter.a ../libloader.a -lstdc++ |
168 | 35 |
36 all: $(LIBNAME) | |
37 | |
38 clean: | |
39 rm -f *.o *.a *~ | |
40 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
7148
diff
changeset
|
41 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
7148
diff
changeset
|
42 rm -f .depend test test.raw |
168 | 43 |
44 dep: depend | |
45 | |
1010 | 46 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
47 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
168 | 48 |
49 # | |
50 # include dependency files if they exist | |
51 # | |
52 ifneq ($(wildcard .depend),) | |
53 include .depend | |
54 endif | |
1545 | 55 |