Skip to content
Snippets Groups Projects
Commit 67ae0999 authored by Aaron's avatar Aaron
Browse files

make Bamtools/lib on the fly

parent 6cd47e25
No related branches found
No related tags found
No related merge requests found
......@@ -39,12 +39,11 @@ OBJECTS= $(SOURCES:.cpp=.o)
LIBRARY=libbamtools.a
all: $(LIBRARY)
.PHONY: all
[ -d lib ] || mkdir -p lib
$(LIBRARY): $(OBJECTS)
[ -d lib ] || mkdir -p lib
@echo " * linking $(LIBRARY)"
ar cr lib/$@ $^
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment