Add rule for ecogrep build in makefile
git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/trunk@116 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
16
src/Makefile
16
src/Makefile
@ -1,4 +1,4 @@
|
|||||||
EXEC=ecoPCR ecofind ecoisundertaxon
|
EXEC=ecoPCR ecofind ecogrep
|
||||||
|
|
||||||
PCR_SRC= ecopcr.c
|
PCR_SRC= ecopcr.c
|
||||||
PCR_OBJ= $(patsubst %.c,%.o,$(PCR_SRC))
|
PCR_OBJ= $(patsubst %.c,%.o,$(PCR_SRC))
|
||||||
@ -6,6 +6,9 @@ PCR_OBJ= $(patsubst %.c,%.o,$(PCR_SRC))
|
|||||||
FIND_SRC= ecofind.c
|
FIND_SRC= ecofind.c
|
||||||
FIND_OBJ= $(patsubst %.c,%.o,$(FIND_SRC))
|
FIND_OBJ= $(patsubst %.c,%.o,$(FIND_SRC))
|
||||||
|
|
||||||
|
GREP_SRC= ecogrep.c
|
||||||
|
GREP_OBJ= $(patsubst %.c,%.o,$(GREP_SRC))
|
||||||
|
|
||||||
IUT_SRC= ecoisundertaxon.c
|
IUT_SRC= ecoisundertaxon.c
|
||||||
IUT_OBJ= $(patsubst %.c,%.o,$(IUT_SRC))
|
IUT_OBJ= $(patsubst %.c,%.o,$(IUT_SRC))
|
||||||
|
|
||||||
@ -44,6 +47,17 @@ ecoPCR: $(PCR_OBJ) $(LIBFILE)
|
|||||||
ecofind: $(FIND_OBJ) $(LIBFILE)
|
ecofind: $(FIND_OBJ) $(LIBFILE)
|
||||||
$(CC) $(LDFLAGS) -o $@ $< $(LIBPATH) $(LIB)
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBPATH) $(LIB)
|
||||||
|
|
||||||
|
########
|
||||||
|
#
|
||||||
|
# ecogrep compilation
|
||||||
|
#
|
||||||
|
########
|
||||||
|
|
||||||
|
# executable compilation and link
|
||||||
|
|
||||||
|
ecogrep: $(GREP_OBJ) $(LIBFILE)
|
||||||
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBPATH) $(LIB)
|
||||||
|
|
||||||
########
|
########
|
||||||
#
|
#
|
||||||
# IsUnderTaxon compilation
|
# IsUnderTaxon compilation
|
||||||
|
Reference in New Issue
Block a user