Mercurial > mplayer.hg
annotate loader/dshow/Makefile @ 1188:f0542c6a52c2
sdl_driver liquidated, vo_subdevice used
author | al3x |
---|---|
date | Thu, 21 Jun 2001 22:47:55 +0000 |
parents | 6143de76e2e3 |
children | 554fca022743 |
rev | line source |
---|---|
168 | 1 |
2 LIBNAME = libDS_Filter.a | |
3 | |
4 include ../../config.mak | |
5 | |
189 | 6 SRCS = DS_AudioDec.cpp DS_VideoDec.cpp DS_Filter.cpp allocator.cpp cmediasample.cpp guids.cpp inputpin.cpp outputpin.cpp |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
7 OBJS = $(SRCS:.cpp=.o) |
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
8 |
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
9 # OBJS = DS_AudioDec.o DS_VideoDec.o DS_Filter.o allocator.o cmediasample.o guids.o inputpin.o outputpin.o |
168 | 10 |
11 INCLUDE = -I. -I.. -I../wine | |
1097
6143de76e2e3
Force exeptions for dshow code (keeps users from building unworkable mplayer).
atmosfear
parents:
1010
diff
changeset
|
12 CFLAGS = $(OPTFLAGS) -fexceptions $(INCLUDE) |
168 | 13 |
14 .SUFFIXES: .cpp .o | |
15 | |
16 # .PHONY: all clean | |
17 | |
18 .cpp.o: | |
19 $(CC) -c $(CFLAGS) -o $@ $< | |
20 | |
1010 | 21 $(LIBNAME): $(OBJS) |
168 | 22 $(AR) r $(LIBNAME) $(OBJS) |
23 | |
169 | 24 test: test.c $(LIBNAME) |
958
162a78d3cc08
FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net
arpi_esp
parents:
866
diff
changeset
|
25 $(CC) test.c -Wall $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader $(ARCH_LIBS) -lstdc++ |
168 | 26 |
27 all: $(LIBNAME) | |
28 | |
29 clean: | |
30 rm -f *.o *.a *~ | |
31 | |
32 distclean: | |
33 rm -f Makefile.bak *.o *.a *~ .depend test test.raw | |
34 | |
35 dep: depend | |
36 | |
1010 | 37 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
189
diff
changeset
|
38 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
168 | 39 |
40 # | |
41 # include dependency files if they exist | |
42 # | |
43 ifneq ($(wildcard .depend),) | |
44 include .depend | |
45 endif |