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 74d4217..f443d2c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 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
Impressum, Datenschutz