comparison loader/dmo/Makefile @ 8294:8e00b6a9e40b

DMO interfaces (copied/converted(c++->c) from avifile)
author arpi
date Tue, 26 Nov 2002 22:54:11 +0000
parents
children 5d5d1b3ec737
comparison
equal deleted inserted replaced
8293:f436f419e5ab 8294:8e00b6a9e40b
1
2 LIBNAME = libDMO_Filter.a
3
4 include ../../config.mak
5
6 # DS_AudioDec.c
7 SRCS = DMO_VideoDecoder.c buffer.c dmo.c dmo_guids.c
8 OBJS = $(SRCS:.c=.o)
9
10 INCLUDE = -I. -I../dshow -I.. $(EXTRA_INC)
11 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DNOAVIFILE_HEADERS
12
13 .SUFFIXES: .c .o
14
15 # .PHONY: all clean
16
17 .c.o:
18 $(CC) -c $(CFLAGS) -o $@ $<
19
20 $(LIBNAME): $(OBJS)
21 $(AR) r $(LIBNAME) $(OBJS)
22
23 test: test.c $(LIBNAME)
24 $(CC) test.c $(CFLAGS) -o test ./libDMO_Filter.a ../libloader.a $(ARCH_LIBS) -lstdc++
25
26 all: $(LIBNAME)
27
28 clean:
29 rm -f *.o *.a *~
30
31 distclean:
32 rm -f Makefile.bak *.o *.a *~ .depend test test.raw
33
34 dep: depend
35
36 depend:
37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
38
39 #
40 # include dependency files if they exist
41 #
42 ifneq ($(wildcard .depend),)
43 include .depend
44 endif
45