Commit 7fa05cc1 authored by RomainFeron's avatar RomainFeron
Browse files

minor makefile typo

parent 3e85c5b0
...@@ -6,7 +6,7 @@ CXXFLAGS += -Wall -std=c++11 $(OPTCXXFLAGS) ...@@ -6,7 +6,7 @@ CXXFLAGS += -Wall -std=c++11 $(OPTCXXFLAGS)
CFLAGS += -Wall -Wno-maybe-uninitialized CFLAGS += -Wall -Wno-maybe-uninitialized
LDFLAGS += -pthread -lstdc++ -lz -L$(INCLUDE)/bwa -lbwa LDFLAGS += -pthread -lstdc++ -lz -L$(INCLUDE)/bwa -lbwa
# Directory organisation # Directory organization
BASEDIR = . BASEDIR = .
BIN = $(BASEDIR)/bin BIN = $(BASEDIR)/bin
BUILD = $(BASEDIR)/build BUILD = $(BASEDIR)/build
...@@ -61,7 +61,7 @@ $(INCLUDE)/kfun/kfun.o: $(INCLUDE)/kfun/kfun.cpp ...@@ -61,7 +61,7 @@ $(INCLUDE)/kfun/kfun.o: $(INCLUDE)/kfun/kfun.cpp
clean-kfun: clean-kfun:
(rm $(INCLUDE)/kfun/kfun.o) (rm $(INCLUDE)/kfun/kfun.o)
# Clean RADSex files # Clean radsex files
clean: clean:
rm -rf $(BUILD)/*.o rm -rf $(BUILD)/*.o
rm -rf $(BIN)/* rm -rf $(BIN)/*
...@@ -69,12 +69,12 @@ clean: ...@@ -69,12 +69,12 @@ clean:
# Clean all files # Clean all files
clean-all: clean clean-bwa clean-kfun clean-all: clean clean-bwa clean-kfun
# Rebuild RADSex only # Rebuild radsex only
rebuild: rebuild:
$(MAKE) clean $(MAKE) clean
$(MAKE) -j $(JOBS) $(MAKE) -j $(JOBS)
# Rebuild RADSex and dependencies # Rebuild radsex and dependencies
rebuild-all: rebuild-all:
$(MAKE) clean-all $(MAKE) clean-all
$(MAKE) -j $(JOBS) $(MAKE) -j $(JOBS)
...@@ -87,7 +87,7 @@ $(BIN)/radsex: $(OBJS) $(INCLUDE)/kfun/kfun.o ...@@ -87,7 +87,7 @@ $(BIN)/radsex: $(OBJS) $(INCLUDE)/kfun/kfun.o
$(BUILD)/%.o: $(SRC)/%.cpp $(INCLUDE)/bwa/libbwa.a $(BUILD)/%.o: $(SRC)/%.cpp $(INCLUDE)/bwa/libbwa.a
$(CXX) $(CXXFLAGS) -I $(INCLUDE) -c -o $@ $< $(CXX) $(CXXFLAGS) -I $(INCLUDE) -c -o $@ $<
# Build doc with sphinx and doxygen # Build doc with doxygen
docs: docs:
(cd docs && make) (cd docs && make)
......
Supports Markdown
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