From 471bf72bf9dda82a590c39185053797825ea9eae Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Mon, 24 Sep 2007 09:58:48 +0000 Subject: [PATCH] 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 --- src/Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 60baeb5..6705ac3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ -EXEC=ecoPCR ecofind ecoisundertaxon +EXEC=ecoPCR ecofind ecogrep PCR_SRC= ecopcr.c PCR_OBJ= $(patsubst %.c,%.o,$(PCR_SRC)) @@ -6,6 +6,9 @@ PCR_OBJ= $(patsubst %.c,%.o,$(PCR_SRC)) FIND_SRC= ecofind.c FIND_OBJ= $(patsubst %.c,%.o,$(FIND_SRC)) +GREP_SRC= ecogrep.c +GREP_OBJ= $(patsubst %.c,%.o,$(GREP_SRC)) + IUT_SRC= ecoisundertaxon.c IUT_OBJ= $(patsubst %.c,%.o,$(IUT_SRC)) @@ -44,6 +47,17 @@ ecoPCR: $(PCR_OBJ) $(LIBFILE) ecofind: $(FIND_OBJ) $(LIBFILE) $(CC) $(LDFLAGS) -o $@ $< $(LIBPATH) $(LIB) +######## +# +# ecogrep compilation +# +######## + +# executable compilation and link + +ecogrep: $(GREP_OBJ) $(LIBFILE) + $(CC) $(LDFLAGS) -o $@ $< $(LIBPATH) $(LIB) + ######## # # IsUnderTaxon compilation