Update makefile more
This commit is contained in:
parent
1f75629c3c
commit
d7bd82db05
1 changed files with 3 additions and 4 deletions
7
makefile
7
makefile
|
@ -1,7 +1,7 @@
|
|||
BIN_DIR = /usr/bin
|
||||
|
||||
install:
|
||||
g++ mouse_m908.cpp -o mouse_m908 -lusb-1.0 && \
|
||||
g++ mouse_m908.cpp -o mouse_m908 -lusb-1.0 -Wall -O2 && \
|
||||
cp ./mouse_m908 $(BIN_DIR)/mouse_m908 && \
|
||||
cp ./mouse_m908.rules /etc/udev/rules.d
|
||||
|
||||
|
@ -13,9 +13,8 @@ uninstall:
|
|||
rm $(BIN_DIR)/mouse_m908
|
||||
|
||||
upgrade:
|
||||
g++ mouse_m908.cpp -o mouse_m908 -lusb-1.0 && \
|
||||
g++ mouse_m908.cpp -o mouse_m908 -lusb-1.0 -Wall -O2 && \
|
||||
cp ./mouse_m908 $(BIN_DIR)/mouse_m908
|
||||
|
||||
build:
|
||||
g++ mouse_m908.cpp -o mouse_m908 -lusb-1.0
|
||||
|
||||
g++ mouse_m908.cpp -o mouse_m908 -lusb-1.0 -Wall -O2
|
||||
|
|
Loading…
Reference in a new issue