From 203d30b88ecd09a89b514d65265790db9a28f7e3 Mon Sep 17 00:00:00 2001 From: constarg Date: Thu, 21 Dec 2023 15:13:50 +0200 Subject: [PATCH] Add an install option in the makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 0e1e0e2..12fafd2 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,9 @@ all: dir_make ${object_files} ${GCC} ${c_features} ${c_production_flags} ${header_loc} ./src/main.c ${object_files} ${libraries} -o ./bin/lkby cd ./lkby_lib/ && ${MAKE} +install: + sudo cp ./bin/lkby /sbin/ + debug: dir_make ${object_files_debug} ${GCC} ${c_features} ${c_debug_flags} ${header_loc} ./src/main.c ${object_files_debug} ${libraries} -o ./bin/lkby_debug cd ./lkby_lib/ && ${MAKE}