1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

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 <kai@kaishome.de>
This commit is contained in:
Kai Krakow 2018-01-16 00:03:05 +01:00
parent c8787fecd2
commit 4789445d7b

View File

@ -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