Skip to content

Commit

Permalink
Merge pull request #6 from johnf/fix-linking
Browse files Browse the repository at this point in the history
Fix up linking on Ubuntu
  • Loading branch information
kitsunyan committed Aug 29, 2018
2 parents 40dfd01 + 2b9b544 commit 1c16860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: \
-o $@ -c $<

intel-undervolt: config.o main.o
$(CC) -lm $(LDFLAGS) -o $@ $^
$(CC) $(LDFLAGS) -o $@ $^ -lm

install: all
install -Dm755 'intel-undervolt' "$(DESTDIR)$(BINDIR)/intel-undervolt"
Expand Down

0 comments on commit 1c16860

Please sign in to comment.