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 @ 3:9366c8a58778

History | View | Annotate | Download (539 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
	   CepstrumPitchTracker.h
13

    
14
SOURCES := SimpleCepstrum.cpp \
15
	   CepstrumPitchTracker.cpp \
16
           libmain.cpp
17

    
18
OBJECTS := $(SOURCES:.cpp=.o)
19
OBJECTS := $(OBJECTS:.c=.o)
20

    
21
$(PLUGIN):	$(OBJECTS)
22
		$(CXX) -o $@ $^ $(LDFLAGS)
23

    
24
clean:		
25
		rm $(OBJECTS)
26

    
27
distclean:	clean
28
		rm $(PLUGIN)
29

    
30
libmain.o:	$(HEADERS) $(SOURCES)
31
SimpleCepstrum.o:	$(HEADERS) $(SOURCES)