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 @ 38:944898c2e14e

History | View | Annotate | Download (561 Bytes)

1

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

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

    
11
HEADERS := CepstralPitchTracker.h \
12
	   NoteHypothesis.h
13

    
14
SOURCES := CepstralPitchTracker.cpp \
15
	   NoteHypothesis.cpp \
16
           libmain.cpp
17

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

    
21
all: $(PLUGIN)
22

    
23
$(PLUGIN):	$(OBJECTS)
24
		$(CXX) -o $@ $^ $(LDFLAGS)
25

    
26
clean:		
27
		rm $(OBJECTS)
28

    
29
distclean:	clean
30
		rm $(PLUGIN)
31

    
32
libmain.o:	$(HEADERS) $(SOURCES)
33
SimpleCepstrum.o:	$(HEADERS) $(SOURCES)