To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / Makefile.inc @ 2:4fe18ad5a9ac

History | View | Annotate | Download (479 Bytes)

1

    
2
PLUGIN_EXT	?= .so
3
PLUGIN	?= simple-cepstrum$(PLUGIN_EXT)
4
CXX	?= g++
5
CC	?= gcc
6

    
7
CFLAGS		:= $(CFLAGS) 
8
CXXFLAGS	:= $(CXXFLAGS) 
9
LDFLAGS		:= $(LDFLAGS)
10

    
11
HEADERS := SimpleCepstrum.h
12

    
13
SOURCES := SimpleCepstrum.cpp \
14
           libmain.cpp
15

    
16
OBJECTS := $(SOURCES:.cpp=.o)
17
OBJECTS := $(OBJECTS:.c=.o)
18

    
19
$(PLUGIN):	$(OBJECTS)
20
		$(CXX) -o $@ $^ $(LDFLAGS)
21

    
22
clean:		
23
		rm $(OBJECTS)
24

    
25
distclean:	clean
26
		rm $(PLUGIN)
27

    
28
libmain.o:	$(HEADERS) $(SOURCES)
29
SimpleCepstrum.o:	$(HEADERS) $(SOURCES)