]> cvs.zerfleddert.de Git - hmcfgusb/blame - Makefile
firmware-updater works now (needs hmusbif.enc)
[hmcfgusb] / Makefile
CommitLineData
9db2e455 1CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
bbbfeb45 2LDFLAGS=-L/opt/local/lib
17fd6539 3LDLIBS=-lusb-1.0 -lrt
9db2e455
MG
4CC=gcc
5
d57fdaf6
MG
6HMLAN_OBJS=hmcfgusb.o hmland.o
7HMSNIFF_OBJS=hmcfgusb.o hmsniff.o
9fb0f4d2 8FLASH_HMCFGUSB_OBJS=hmcfgusb.o flash-hmcfgusb.o
9db2e455 9
9fb0f4d2 10OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS)
d57fdaf6 11
b5e57d26 12all: hmland hmsniff flash-hmcfgusb
9db2e455
MG
13
14DEPEND=$(OBJS:.o=.d)
15-include $(DEPEND)
16
d57fdaf6
MG
17hmland: $(HMLAN_OBJS)
18
19hmsniff: $(HMSNIFF_OBJS)
9db2e455 20
9fb0f4d2
MG
21flash-hmcfgusb: $(FLASH_HMCFGUSB_OBJS)
22
9db2e455 23clean:
9fb0f4d2 24 rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS) $(DEPEND) hmland hmsniff flash-hmcfgusb
9db2e455
MG
25
26.PHONY: all clean
Impressum, Datenschutz