]> git.zerfleddert.de Git - hmcfgusb/blame_incremental - Makefile
increase hm-buffer for culfw-devices
[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 firmware.o util.o flash-hmcfgusb.o
9FLASH_OTA_OBJS=hmcfgusb.o culfw.o firmware.o util.o flash-ota.o
10
11OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS) $(FLASH_OTA_OBJS)
12
13all: hmland hmsniff flash-hmcfgusb flash-ota
14
15DEPEND=$(OBJS:.o=.d)
16-include $(DEPEND)
17
18hmland: $(HMLAN_OBJS)
19
20hmsniff: $(HMSNIFF_OBJS)
21
22flash-hmcfgusb: $(FLASH_HMCFGUSB_OBJS)
23
24flash-ota: $(FLASH_OTA_OBJS)
25
26clean:
27 rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS) $(FLASH_OTA_OBJS) $(DEPEND) hmland hmsniff flash-hmcfgusb flash-ota
28
29.PHONY: all clean
Impressum, Datenschutz