-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
12 lines (11 loc) · 932 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
all:
mkdir -p bin image
@g++ -Wall -o bin/k-means-example -Isrc/ examples/k-means.cpp --std=c++11 -O3 -lm -lpthread -lX11
@g++ -Wall -o bin/affinity-example -Isrc/ examples/affinity.cpp --std=c++11 -O3 -lm -lpthread -lX11
@g++ -Wall -o bin/k-means-image-example -Isrc/ examples/k-means-image.cpp --std=c++11 -O3 -lm -lpthread -lX11
@g++ -Wall -o bin/agglomerative -Isrc/ examples/agglomerative.cpp --std=c++11 -O3 -lm -lpthread -lX11
@g++ -Wall -o bin/mnist-cnn -Isrc/ examples/mnist-cnn.cpp --std=c++11 -O3 -lm -lpthread -lX11
@g++ -Wall -o bin/rbm -Isrc/ examples/rbm.cpp --std=c++11 -O3 -lm -lpthread -lX11
@g++ -Wall -o bin/bayesian -Isrc/ examples/bayesian.cpp --std=c++11 -O3 -lm -lpthread -lX11
cd examples/multilayer-perceptron/ && make -f Makefile && cd ../../
cd examples/perceptron/ && make -f Makefile && cd ../../