]>
Commit | Line | Data |
---|---|---|
9db2e455 | 1 | CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g |
bbbfeb45 MG |
2 | LDFLAGS=-L/opt/local/lib |
3 | LDLIBS=-lusb-1.0 | |
9db2e455 MG |
4 | CC=gcc |
5 | ||
d57fdaf6 MG |
6 | HMLAN_OBJS=hmcfgusb.o hmland.o |
7 | HMSNIFF_OBJS=hmcfgusb.o hmsniff.o | |
9db2e455 | 8 | |
d57fdaf6 MG |
9 | OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS) |
10 | ||
11 | all: hmland hmsniff | |
9db2e455 MG |
12 | |
13 | DEPEND=$(OBJS:.o=.d) | |
14 | -include $(DEPEND) | |
15 | ||
d57fdaf6 MG |
16 | hmland: $(HMLAN_OBJS) |
17 | ||
18 | hmsniff: $(HMSNIFF_OBJS) | |
9db2e455 MG |
19 | |
20 | clean: | |
d57fdaf6 | 21 | rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(DEPEND) hmland hmsniff |
9db2e455 MG |
22 | |
23 | .PHONY: all clean |