From bbbfeb45132c9fdd5635b8ce2a58254cb7082461 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Wed, 12 Jun 2013 20:18:31 +0200 Subject: [PATCH 1/1] fix linker parameter order --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 74d4217..f443d2c 100644 --- 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 -- 2.39.5