]> git.zerfleddert.de Git - hmcfgusb/blob - Makefile
beginning of hmsniff, a small HomeMatic sniffer/dissector
[hmcfgusb] / Makefile
1 CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
2 LDFLAGS=-L/opt/local/lib -lusb-1.0 -lm
3 CC=gcc
4
5 HMLAN_OBJS=hmcfgusb.o hmland.o
6 HMSNIFF_OBJS=hmcfgusb.o hmsniff.o
7
8 OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS)
9
10 all: hmland hmsniff
11
12 DEPEND=$(OBJS:.o=.d)
13 -include $(DEPEND)
14
15 hmland: $(HMLAN_OBJS)
16
17 hmsniff: $(HMSNIFF_OBJS)
18
19 clean:
20 rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(DEPEND) hmland hmsniff
21
22 .PHONY: all clean
Impressum, Datenschutz