Skip to content
Snippets Groups Projects
Commit 5882e41b authored by Joseph Redmon's avatar Joseph Redmon
Browse files

fix linking error on ubuntu

parent 2b4e07f1
No related branches found
No related tags found
No related merge requests found
......@@ -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 $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment