]> git.zerfleddert.de Git - hmcfgusb/commitdiff
fix linker parameter order
authorMichael Gernoth <michael@gernoth.net>
Wed, 12 Jun 2013 18:18:31 +0000 (20:18 +0200)
committerMichael Gernoth <michael@gernoth.net>
Wed, 12 Jun 2013 18:18:31 +0000 (20:18 +0200)
Makefile

index 74d421757c3dff3e1fae9dc997fb5873d950dffc..f443d2cf16635ceccaf4f27c1e48eff97e9dcca9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
 CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
-LDFLAGS=-L/opt/local/lib -lusb-1.0 -lm
+LDFLAGS=-L/opt/local/lib
+LDLIBS=-lusb-1.0
 CC=gcc
 
 HMLAN_OBJS=hmcfgusb.o hmland.o
 CC=gcc
 
 HMLAN_OBJS=hmcfgusb.o hmland.o
Impressum, Datenschutz