add hwmon dbus object
diff --git a/Makefile b/Makefile
index 54190f6..14afa54 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@
%.o: objects/pflash/libflash/%.c
$(CC) -c -o obj/$@ $< $(CFLAGS) $(INCLUDES)
-all: setup libopenbmc_intf power_control led_controller button_power control_host fan host_watchdog control_bmc board_vpd pcie_slot_present flash_bios flasher control_bmc_barreleye pflash
+all: setup libopenbmc_intf power_control led_controller button_power control_host fan host_watchdog control_bmc board_vpd pcie_slot_present flash_bios flasher control_bmc_barreleye pflash hwmons
setup:
mkdir -p obj lib
@@ -72,3 +72,6 @@
pflash: $(OBJS2) pflash.o
$(CC) -o bin/$@ obj/pflash.o $(OBJS3) $(LDFLAGS)
+hwmons: hwmons.o object_mapper.o libopenbmc_intf
+ $(CC) -o bin/$@.exe obj/hwmons.o obj/object_mapper.o $(LDFLAGS) $(LIBS)
+