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