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