From d7bd82db050f51323a4b7d1ac72937c35d5e19cf Mon Sep 17 00:00:00 2001 From: dokutan <54861821+dokutan@users.noreply.github.com> Date: Sat, 8 Feb 2020 04:10:34 +0100 Subject: [PATCH] Update makefile more --- makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index 614fb6b..bd7982d 100644 --- a/makefile +++ b/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