mouse_m908/makefile

18 lines
370 B
Makefile
Raw Normal View History

2019-11-08 17:10:30 -07:00
BIN_DIR = /usr/bin
install:
g++ mouse_m908.cpp -o mouse_m908 -lusb-1.0 && \
2019-11-29 16:15:54 -07:00
cp ./mouse_m908 $(BIN_DIR)/mouse_m908 && \
2019-11-08 17:10:30 -07:00
cp ./mouse_m908.rules /etc/udev/rules.d
2019-11-29 16:15:54 -07:00
clean:
rm ./mouse_m908
uninstall:
rm /etc/udev/rules.d/mouse_m908.rules && \
rm $(BIN_DIR)/mouse_m908
upgrade:
g++ mouse_m908.cpp -o mouse_m908 -lusb-1.0 && \
cp ./mouse_m908 $(BIN_DIR)/mouse_m908