Mercurial > mplayer.hg
annotate loader/dshow/Makefile @ 17943:c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
to ease patching in the future.
author | diego |
---|---|
date | Sat, 25 Mar 2006 10:38:37 +0000 |
parents | ce1ba8fd57e7 |
children | 7a9a9748e045 |
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 |
1545 | 20 INCLUDE = -I. -I.. $(EXTRA_INC) -DNOAVIFILE_HEADERS |
3063 | 21 CFLAGS = $(OPTFLAGS) $(INCLUDE) |
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) |
7148 | 34 $(CC) test.c $(CFLAGS) -o test ./libDS_Filter.a ../libloader.a $(ARCH_LIBS) -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 |