Mercurial > mplayer.hg
annotate loader/dshow/Makefile @ 6483:2dd9691fe6b8
YVU9,IF09,Y800 and Y8 support - and synced with mpxp
author | alex |
---|---|
date | Fri, 21 Jun 2002 17:31:02 +0000 |
parents | 004e3199fee0 |
children | b69ddd4d3bb9 |
rev | line source |
---|---|
168 | 1 |
2 LIBNAME = libDS_Filter.a | |
3 | |
4 include ../../config.mak | |
5 | |
3063 | 6 # DS_AudioDec.c |
7 SRCS = DS_AudioDecoder.c DS_Filter.c DS_VideoDecoder.c allocator.c cmediasample.c guids.c inputpin.c outputpin.c | |
8 OBJS = $(SRCS:.c=.o) | |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
9 |
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
10 # OBJS = DS_AudioDec.o DS_VideoDec.o DS_Filter.o allocator.o cmediasample.o guids.o inputpin.o outputpin.o |
168 | 11 |
1545 | 12 INCLUDE = -I. -I.. $(EXTRA_INC) -DNOAVIFILE_HEADERS |
3063 | 13 CFLAGS = $(OPTFLAGS) $(INCLUDE) |
168 | 14 |
3063 | 15 .SUFFIXES: .c .o |
168 | 16 |
17 # .PHONY: all clean | |
18 | |
3063 | 19 .c.o: |
168 | 20 $(CC) -c $(CFLAGS) -o $@ $< |
21 | |
1010 | 22 $(LIBNAME): $(OBJS) |
168 | 23 $(AR) r $(LIBNAME) $(OBJS) |
24 | |
169 | 25 test: test.c $(LIBNAME) |
958
162a78d3cc08
FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net
arpi_esp
parents:
866
diff
changeset
|
26 $(CC) test.c -Wall $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader $(ARCH_LIBS) -lstdc++ |
168 | 27 |
28 all: $(LIBNAME) | |
29 | |
30 clean: | |
31 rm -f *.o *.a *~ | |
32 | |
33 distclean: | |
34 rm -f Makefile.bak *.o *.a *~ .depend test test.raw | |
35 | |
36 dep: depend | |
37 | |
1010 | 38 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
168 | 40 |
41 # | |
42 # include dependency files if they exist | |
43 # | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif | |
1545 | 47 |