Skip to content

Commit

Permalink
Add an install option in the makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
constarg committed Dec 21, 2023
1 parent aebf2d8 commit 203d30b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 203d30b

Please sign in to comment.