From 49766e29f41348ebd9a24cabd6656e8818d3e35b Mon Sep 17 00:00:00 2001 From: flamingcow Date: Tue, 7 May 2019 23:43:45 -0700 Subject: [PATCH] Linking order matters --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bf5d120..5f306fa 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ firebuf.a: $(objects) ar rcs $@ $^ firebuf.o: $(objects) - ld --relocatable --output=$@ $^ + ld --relocatable --output=$@ $+ %.o: %.cc *.h Makefile $(FIRE_CXX) $(FIRE_CXXFLAGS) -c -o $@ $<