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