From 3d10d02620a0e587d765f6042ab05f530b201c39 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 14 Dec 2023 19:38:55 -0500 Subject: initial stable --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 25b86d2..9613a70 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ BIN = bin OUT = $(BIN)/out +INS = /usr/local/bin/nbtvis SRC = $(shell find src -type f -name "*.c") OBJ = $(patsubst %.c,$(BIN)/%.o, $(SRC)) @@ -22,5 +23,12 @@ $(OUT): $(OBJ) $(ASM_OBJ) @mkdir -p $(@D) $(LD) -o $(OUT) $(OBJ) $(LDFLAGS) +run: + $(OUT) + +install: + cp $(OUT) $(INS) + chown root: $(INS) + clean: rm -fr $(BIN) -- cgit v1.2.3-freya