handle switch to and from FUP-mode
[hmcfgusb] / Makefile
index 7cadd48fede90d217d2cbf5a8e490a5e4fb43073..b1c1556ad4717450733e5e3104720e72ba88da2d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
 LDFLAGS=-L/opt/local/lib
-LDLIBS=-lusb-1.0
+LDLIBS=-lusb-1.0 -lrt
 CC=gcc
 
 HMLAN_OBJS=hmcfgusb.o hmland.o
@@ -9,7 +9,7 @@ FLASH_HMCFGUSB_OBJS=hmcfgusb.o flash-hmcfgusb.o
 
 OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS)
 
-all: hmland hmsniff
+all: hmland hmsniff flash-hmcfgusb
 
 DEPEND=$(OBJS:.o=.d)
 -include $(DEPEND)
Impressum, Datenschutz