hotplug-dir needs to be created before copying stuff into it...
[hmcfgusb] / Makefile
... / ...
CommitLineData
1CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
2LDFLAGS=-L/opt/local/lib -lusb-1.0 -lm
3CC=gcc
4
5HMLAN_OBJS=hmcfgusb.o hmland.o
6HMSNIFF_OBJS=hmcfgusb.o hmsniff.o
7
8OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS)
9
10all: hmland hmsniff
11
12DEPEND=$(OBJS:.o=.d)
13-include $(DEPEND)
14
15hmland: $(HMLAN_OBJS)
16
17hmsniff: $(HMSNIFF_OBJS)
18
19clean:
20 rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(DEPEND) hmland hmsniff
21
22.PHONY: all clean
Impressum, Datenschutz