35 lines
546 B
Makefile
35 lines
546 B
Makefile
|
|
||
|
SOURCES = goodtaxon.c \
|
||
|
readdnadb.c \
|
||
|
smothsort.c \
|
||
|
sortword.c \
|
||
|
hashsequence.c \
|
||
|
strictprimers.c \
|
||
|
aproxpattern.c \
|
||
|
merge.c \
|
||
|
queue.c \
|
||
|
libstki.c \
|
||
|
sortmatch.c \
|
||
|
pairs.c \
|
||
|
apat_search.c
|
||
|
|
||
|
SRCS=$(SOURCES)
|
||
|
|
||
|
OBJECTS= $(patsubst %.c,%.o,$(SOURCES))
|
||
|
|
||
|
LIBFILE= libecoprimer.a
|
||
|
RANLIB= ranlib
|
||
|
|
||
|
|
||
|
include ../global.mk
|
||
|
|
||
|
|
||
|
all: $(LIBFILE)
|
||
|
|
||
|
clean:
|
||
|
rm -rf $(OBJECTS) $(LIBFILE)
|
||
|
|
||
|
$(LIBFILE): $(OBJECTS)
|
||
|
ar -cr $@ $?
|
||
|
$(RANLIB) $@
|