X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/b5e57d268fe86cf58116c03166d45c130280dfb6..f40990db7b41dd6293572d5ae0418de43f6b5171:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index b1c1556..bd8fbf7 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,14 @@ LDFLAGS=-L/opt/local/lib LDLIBS=-lusb-1.0 -lrt CC=gcc -HMLAN_OBJS=hmcfgusb.o hmland.o +HMLAN_OBJS=hmcfgusb.o hmland.o util.o HMSNIFF_OBJS=hmcfgusb.o hmsniff.o -FLASH_HMCFGUSB_OBJS=hmcfgusb.o flash-hmcfgusb.o +FLASH_HMCFGUSB_OBJS=hmcfgusb.o firmware.o util.o flash-hmcfgusb.o +FLASH_OTA_OBJS=hmcfgusb.o culfw.o firmware.o util.o flash-ota.o hm.o aes.o -OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS) +OBJS=$(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS) $(FLASH_OTA_OBJS) -all: hmland hmsniff flash-hmcfgusb +all: hmland hmsniff flash-hmcfgusb flash-ota DEPEND=$(OBJS:.o=.d) -include $(DEPEND) @@ -20,7 +21,9 @@ hmsniff: $(HMSNIFF_OBJS) flash-hmcfgusb: $(FLASH_HMCFGUSB_OBJS) +flash-ota: $(FLASH_OTA_OBJS) + clean: - rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS) $(DEPEND) hmland hmsniff flash-hmcfgusb + rm -f $(HMLAN_OBJS) $(HMSNIFF_OBJS) $(FLASH_HMCFGUSB_OBJS) $(FLASH_OTA_OBJS) $(DEPEND) hmland hmsniff flash-hmcfgusb flash-ota .PHONY: all clean