To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / Makefile.inc @ 35:2f5b169e4a3b
History | View | Annotate | Download (545 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 |
$(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) |