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