fix linker parameter order
[hmcfgusb] / Makefile
index 74d421757c3dff3e1fae9dc997fb5873d950dffc..f443d2cf16635ceccaf4f27c1e48eff97e9dcca9 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