Commit b11748ea by Celine Mercier

Cleaner installation

parent ed56cb1d
PREFIX=/usr/local
SOURCES = libfasta/fasta_header_parser.c \
libfasta/fasta_seq_writer.c \
......@@ -44,3 +45,12 @@ $(LIBFILE): $(OBJECTS)
ar -cr $@ $?
$(RANLIB) $@
install: all
install -d $(DESTDIR)$(PREFIX)/lib/
install -m 644 $(LIBFILE) $(DESTDIR)$(PREFIX)/lib/
install -d $(DESTDIR)$(PREFIX)/include/
for lib in libfasta liblcs libsse libutils libfile ; do \
install -d $(DESTDIR)$(PREFIX)/include/$$lib ; \
cp $$lib/*.h $(DESTDIR)$(PREFIX)/include/$$lib ; \
done
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