Mercurial > mplayer.hg
annotate loader/dshow/Makefile @ 8688:28ab58268c35
sync
author | nicolas |
---|---|
date | Tue, 31 Dec 2002 18:47:43 +0000 |
parents | d48db6256efb |
children | ce1ba8fd57e7 |
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) |
7148 | 26 $(CC) test.c $(CFLAGS) -o test ./libDS_Filter.a ../libloader.a $(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 |