2 # Copyright (C) Felix Fietkau <nbd@nbd.name>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 yinclude $(TOPDIR)/rules.mk
15 include $(INCLUDE_DIR)/package.mk
20 TITLE:=3-axis input device monitoring tool
23 define Package/$(PKG_NAME)/Build/Compile
24 $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -o $(PKG_BUILD_DIR)/3-axis ./src/3-axis.c
27 define Package/$(PKG_NAME)/install
28 $(INSTALL_DIR) $(1)/usr/bin
29 $(INSTALL_BIN) $(PKG_BUILD_DIR)/3-axis $(1)/usr/bin/
32 $(eval $(call BuildPackage,3-axis))