fix linking error on ubuntu

This commit is contained in:
Joseph Redmon 2015-07-10 16:46:48 -07:00
parent 2b4e07f13e
commit 5882e41baf

View File

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