1 CFLAGS
=-MMD
-O2
-Wall
-I
/opt
/local
/include -g
2 LDFLAGS
=-L
/opt
/local
/lib
6 HMLAN_OBJS
=hmcfgusb.o hmland.o util.o
7 HMSNIFF_OBJS
=hmcfgusb.o hmsniff.o
8 FLASH_HMCFGUSB_OBJS
=hmcfgusb.o firmware.o util.o flash-hmcfgusb.o
9 FLASH_OTA_OBJS
=hmcfgusb.o culfw.o firmware.o util.o flash-ota.o hm.o aes.o
11 OBJS
=$(HMLAN_OBJS
) $(HMSNIFF_OBJS
) $(FLASH_HMCFGUSB_OBJS
) $(FLASH_OTA_OBJS
)
13 all: hmland hmsniff flash-hmcfgusb flash-ota
20 hmsniff
: $(HMSNIFF_OBJS
)
22 flash-hmcfgusb
: $(FLASH_HMCFGUSB_OBJS
)
24 flash-ota
: $(FLASH_OTA_OBJS
)
27 rm -f
$(HMLAN_OBJS
) $(HMSNIFF_OBJS
) $(FLASH_HMCFGUSB_OBJS
) $(FLASH_OTA_OBJS
) $(DEPEND
) hmland hmsniff flash-hmcfgusb flash-ota