forked from paulnasca/paulstretch_cpp
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
47 lines (43 loc) · 783 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
OUTFILE := bin/paulstretch
SOURCES := \
BinauralBeats.cpp \
Control.cpp \
FreeEdit.cpp \
globals.cpp \
Input/AInputS.cpp \
Input/MP3InputS.cpp \
Input/VorbisInputS.cpp \
JAaudiooutput.cpp \
Mutex.cpp \
Output/AOutputS.cpp \
Output/VorbisOutputS.cpp \
PAaudiooutput.cpp \
Player.cpp \
ProcessedStretch.cpp \
Stretch.cpp \
Thread.cpp \
XMLwrapper.cpp
${OUTFILE}: GUI.cxx FreeEditUI.cxx ${SOURCES}
mkdir -p $(@D)
$(CXX) \
-o $@ \
$^ \
-laudiofile \
-lfftw3f \
-lmad \
-lmxml \
-logg \
-lportaudio \
-lpthread \
-lsamplerate \
-lvorbis \
-lvorbisenc \
-lvorbisfile \
-lz \
$(shell fltk-config --cflags) \
$(shell fltk-config --ldflags) \
-DENABLE_RESAMPLING
GUI.cxx: GUI.fl
fluid -c $<
FreeEditUI.cxx: FreeEditUI.fl
fluid -c $<