Add test/README: shell file self-documented
[valse.git] / test / Makefile
index 26d9bc6..0fa1189 100644 (file)
@@ -1,11 +1,11 @@
 CC = gcc
 CFLAGS = -g -std=gnu99 -Wno-implicit-function-declaration
-LDFLAGS = -lm -lgsl -lcblas -lgomp
+LDFLAGS = -lm -lgsl -lcblas
 TEST_LDFLAGS = -L. libvalse_core.so
 LIB = libvalse_core.so
-LIB_SRC = $(wildcard ../sources/*.c)
+LIB_SRC = $(wildcard ../pkg/src/sources/*.c)
 LIB_OBJ = $(LIB_SRC:.c=.o)
-INCLUDES = -I../sources
+INCLUDES = -I../pkg/src/sources
 TESTS = test.EMGLLF test.EMGrank test.constructionModelesLassoMLE test.EMGrank\
         test.constructionModelesLassoRank test.selectionTotale
 
@@ -33,7 +33,7 @@ test.selectionTotale: $(LIB) test.selectionTotale.o test_utils.o
        $(CC) -fPIC -o $@ -c $< $(CFLAGS) $(INCLUDES)
 
 clean:
-       rm -f *.o ../sources/*.o ../adapters/*.o
+       rm -f *.o ../pkg/src/sources/*.o ../pkg/src/adapters/*.o
 
 cclean: clean
        rm -f *.so $(TESTS)