From 4789445d7b14cb8f6655c84ad5de671d2692d399 Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Tue, 16 Jan 2018 00:03:05 +0100 Subject: [PATCH] Makefile: .o already depends on its .h file We can remove the explicit depend on the .h file because that is covered by depends.mk. Let's instead depend on makeflags which makes more sense. Signed-off-by: Kai Krakow --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 8ee4b7e..aedcdc9 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -31,7 +31,7 @@ depends.mk: *.cc include depends.mk -%.o: %.cc ../include/crucible/%.h +%.o: %.cc ../makeflags $(CXX) $(CXXFLAGS) -fPIC -o $@ -c $< libcrucible.so: $(OBJS) Makefile