]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/Makefile
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
ajouts mineurs
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / Makefile
1 CC =       g++
2 CXX =      g++
3 CXXFLAGS = -I ../include
4 VPATH =    ../ml_stc_src
5
6 all: r g
7 targets: example1_ml_stc example2_ml_stc
8 example1_ml_stc: example1_ml_stc.o stc_embed_c.o stc_extract_c.o common.o stc_ml_c.o
9 example2_ml_stc: example2_ml_stc.o stc_embed_c.o stc_extract_c.o common.o stc_ml_c.o
10
11 r:
12         make -f ../Makefile -C release "CPPFLAGS=-O3" "LDFLAGS=-O3" targets
13 g:
14         make -f ../Makefile -C debug "CPPFLAGS=-ggdb" "LDFLAGS=-ggdb" targets
15 clean:
16         rm -f debug/* release/*
17 # use this configuration for valgrind tests
18 valgrind: g
19         valgrind --leak-check=full ./debug/example2_ml_stc