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