]> git.zerfleddert.de Git - hmcfgusb/blame - Makefile
open device in bootloader-mode, too
[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
9fb0f4d2 8FLASH_HMCFGUSB_OBJS=hmcfgusb.o flash-hmcfgusb.o
9db2e455 9
9fb0f4d2 10OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS)
d57fdaf6
MG
11
12all: hmland hmsniff
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