]> git.zerfleddert.de Git - hmcfgusb/blobdiff - Makefile
don't abort when the device reboots, only set hmId when needed
[hmcfgusb] / Makefile
index b82aa236a836adba95d969a77ee02aede537237c..74d421757c3dff3e1fae9dc997fb5873d950dffc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,16 +2,21 @@ CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
 LDFLAGS=-L/opt/local/lib -lusb-1.0 -lm
 CC=gcc
 
-OBJS=hmcfgusb.o hmland.o
+HMLAN_OBJS=hmcfgusb.o hmland.o
+HMSNIFF_OBJS=hmcfgusb.o hmsniff.o
 
-all: hmland
+OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS)
+
+all: hmland hmsniff
 
 DEPEND=$(OBJS:.o=.d)
 -include $(DEPEND)
 
-hmland: $(OBJS)
+hmland: $(HMLAN_OBJS)
+
+hmsniff: $(HMSNIFF_OBJS)
 
 clean:
-       rm -f $(OBJS) $(DEPEND) hmland
+       rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(DEPEND) hmland hmsniff
 
 .PHONY: all clean
Impressum, Datenschutz