From 3a20e01c1cb89663346ec690815423c65c6adbe3 Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 9 Oct 2017 14:28:00 +0200 Subject: [PATCH] Makefile: Add dependency for header files Including the %.h dep. in the %.o target eases rebuilding. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d248b9d..c1b1812 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ SOURCE = align dbseq main pairs param reads utilities OBJS1= $(patsubst %,%.o,$(SOURCE)) all: bsmap -%.o:%.cpp +%.o:%.cpp %.h $(CXX) $(CXXFLAGS) -c $< -o $@ bsmap: $(OBJS1) $(MAKE) -C samtools