From 5882e41baf83e5edd0cda0e33bef6465f6b8783a Mon Sep 17 00:00:00 2001 From: Joseph Redmon Date: Fri, 10 Jul 2015 16:46:48 -0700 Subject: [PATCH] fix linking error on ubuntu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 81cf5a29..e3854cf4 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ DEPS = $(wildcard src/*.h) Makefile all: obj results $(EXEC) $(EXEC): $(OBJS) - $(CC) $(COMMON) $(CFLAGS) $(LDFLAGS) $^ -o $@ + $(CC) $(COMMON) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(OBJDIR)%.o: %.c $(DEPS) $(CC) $(COMMON) $(CFLAGS) -c $< -o $@