Commit 81555924 by Celine Mercier

version 1.0.32: compilation with libsuma

parent 882ee2ea
EXEC=sumaclust
EXEC = sumaclust
SUMACLUST_SRC= sumaclust.c \
SUMACLUST_SRC = sumaclust.c \
mtcompare_sumaclust.c
SUMACLUST_OBJ = $(patsubst %.c,%.o,$(SUMACLUST_SRC))
SUMACLUST_OBJ= $(patsubst %.c,%.o,$(SUMACLUST_SRC))
SRCS= $(SUMACLUST_SRC)
LIB= -lfasta -llcs -lfile -lutils -lm #-ll
SRCS = $(SUMACLUST_SRC)
LIB = -lsuma -lm #-ll
include ./global.mk
......@@ -31,8 +28,8 @@ else
LFLAGS =
endif
sumaclust: $(SUMACLUST_OBJ) $(LIBFASTA) $(LIBLCS) $(LIBFILE) $(LIBUTILS)
$(CC) $(LDFLAGS) -o $@ $(LFLAGS) $(SUMACLUST_OBJ) $(LIB) $(LIBFASTAPATH) $(LIBLCSPATH) $(LIBFILEPATH) $(LIBUTILSPATH)
sumaclust: $(SUMACLUST_OBJ) $(LIBSUMA)
$(CC) $(LDFLAGS) -o $@ $(LFLAGS) $(SUMACLUST_OBJ) $(LIB) $(LIBSUMAPATH)
########
#
......@@ -41,12 +38,7 @@ sumaclust: $(SUMACLUST_OBJ) $(LIBFASTA) $(LIBLCS) $(LIBFILE) $(LIBUTILS)
########
clean:
rm -f *.o
rm -f *.P
rm -f $(SUMACLUST_OBJ)
rm -f $(EXEC)
$(MAKE) -C ./sumalibs/libfasta clean
$(MAKE) -C ./sumalibs/liblcs clean
$(MAKE) -C ./sumalibs/libfile clean
$(MAKE) -C ./sumalibs/libutils clean
$(MAKE) -C ./sumalibs clean
LIBFASTAPATH = -L./sumalibs/libfasta
LIBLCSPATH = -L./sumalibs/liblcs
LIBFILEPATH = -L./sumalibs/libfile
LIBUTILSPATH = -L./sumalibs/libutils
LIBSUMAPATH = -L./sumalibs
LIBFASTA = ./sumalibs/libfasta/libfasta.a
LIBLCS = ./sumalibs/liblcs/liblcs.a
LIBFILE = ./sumalibs/libfile/libfile.a
LIBUTILS = ./sumalibs/libutils/libutils.a
LIBSUMA = ./sumalibs/libsuma.a
CC=gcc
LDFLAGS=
......@@ -32,14 +26,5 @@ default: all
#
########
./sumalibs/libfasta/libfasta.a:
$(MAKE) -C ./sumalibs/libfasta
./sumalibs/liblcs/liblcs.a:
$(MAKE) -C ./sumalibs/liblcs
./sumalibs/libfile/libfile.a:
$(MAKE) -C ./sumalibs/libfile
./sumalibs/libutils/libutils.a:
$(MAKE) -C ./sumalibs/libutils
\ No newline at end of file
./sumalibs/libsuma.a:
$(MAKE) -C ./sumalibs
......@@ -23,7 +23,7 @@
#include "mtcompare_sumaclust.h"
#include "sumaclust.h"
#define VERSION "1.0.31"
#define VERSION "1.0.32"
/* ----------------------------------------------- */
......
Subproject commit 049129488ed96b03a5976512fe328dadeb72ace9
Subproject commit ed56cb1d6b1e60a297cd0d1c67a4e17e4c59d202
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment