mirror of
https://github.com/PoetryInCode/ViewBin.git
synced 2026-08-13 11:24:38 -04:00
update Makefile
This commit is contained in:
parent
71f38dfec4
commit
462ed56d8c
11
Makefile
11
Makefile
@ -1,7 +1,14 @@
|
|||||||
|
CC="cc"
|
||||||
|
INSTALL_DIR="/usr/local/bin/"
|
||||||
|
OUT="viewbin"
|
||||||
|
|
||||||
all: build ;
|
all: build ;
|
||||||
|
|
||||||
build: viewbin.c
|
build: viewbin.c
|
||||||
cc $^ -o viewbin
|
cc $^ -o "$OUT"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
sudo cp viewbin /usr/local/bin/
|
sudo cp viewbin "$INSTALL_DIR"
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
sudo rm "$INSTALL_DIR$OUT"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user