]> git.zerfleddert.de Git - hmcfgusb/blame_incremental - Makefile
cleanup flasher: parse and validate firmware before flashing
[hmcfgusb] / Makefile
... / ...
CommitLineData
1CFLAGS=-MMD -O2 -Wall -I/opt/local/include -g
2LDFLAGS=-L/opt/local/lib
3LDLIBS=-lusb-1.0 -lrt
4CC=gcc
5
6HMLAN_OBJS=hmcfgusb.o hmland.o
7HMSNIFF_OBJS=hmcfgusb.o hmsniff.o
8FLASH_HMCFGUSB_OBJS=hmcfgusb.o flash-hmcfgusb.o
9
10OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS)
11
12all: hmland hmsniff flash-hmcfgusb
13
14DEPEND=$(OBJS:.o=.d)
15-include $(DEPEND)
16
17hmland: $(HMLAN_OBJS)
18
19hmsniff: $(HMSNIFF_OBJS)
20
21flash-hmcfgusb: $(FLASH_HMCFGUSB_OBJS)
22
23clean:
24 rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS) $(DEPEND) hmland hmsniff flash-hmcfgusb
25
26.PHONY: all clean
Impressum, Datenschutz