]> git.zerfleddert.de Git - hmcfgusb/blame - Makefile
refuse to start when PID file exists
[hmcfgusb] / Makefile
CommitLineData
9db2e455 1CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
bbbfeb45
MG
2LDFLAGS=-L/opt/local/lib
3LDLIBS=-lusb-1.0
9db2e455
MG
4CC=gcc
5
d57fdaf6
MG
6HMLAN_OBJS=hmcfgusb.o hmland.o
7HMSNIFF_OBJS=hmcfgusb.o hmsniff.o
9db2e455 8
d57fdaf6
MG
9OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS)
10
11all: hmland hmsniff
9db2e455
MG
12
13DEPEND=$(OBJS:.o=.d)
14-include $(DEPEND)
15
d57fdaf6
MG
16hmland: $(HMLAN_OBJS)
17
18hmsniff: $(HMSNIFF_OBJS)
9db2e455
MG
19
20clean:
d57fdaf6 21 rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(DEPEND) hmland hmsniff
9db2e455
MG
22
23.PHONY: all clean
Impressum, Datenschutz