forked from nvcruzhe/ptuner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (35 loc) · 820 Bytes
/
Copy pathMakefile
File metadata and controls
42 lines (35 loc) · 820 Bytes
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
GCC=g++
LIBS=-lasound
FLAGS=-std=c++11 -fPIC -ggdb
FLAGS_BIN=-std=c++11 -ggdb
BINARY_NAME=netPtuner
SRC=$(wildcard src/sound_system/*.cpp) \
$(wildcard src/util/*.cpp) \
$(wildcard src/tuner/*.cpp) \
$(wildcard src/fft/*.cpp) \
$(wildcard src/network/*.cpp) \
$(wildcard src/gui/*.cpp) \
OBJ=array.o \
capture.o \
complex.o \
fft.o \
filter.o \
logger.o \
NeuronalNetwork.o \
player.o \
ProyectImplementation.o \
recorder_alsa.o \
recorder.o \
signal.o \
sound_system.o \
system_alsa.o \
system_jack.o \
system.o \
tuner.o \
vector.o \
$(BINARY_NAME): $(OBJ)
$(GCC) -o $(BINARY_NAME) src/MainNeuronalNetwork.cpp $(OBJ) -Iinclude `pkg-config gtkmm-3.0 --cflags --libs` $(FLAGS_BIN) $(LIBS)
$(OBJ): $(SRC)
$(GCC) -c $^ -Iinclude `pkg-config gtkmm-3.0 --cflags --libs` $(FLAGS) $(LIBS)
clean:
rm -f *.o netPtuner