From eba7daeebc79080ede43d440ee075b0ef7ca96eb Mon Sep 17 00:00:00 2001 From: Nakidai Date: Tue, 20 May 2025 00:33:49 +0300 Subject: Add code --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5fd5245 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +RM ?= rm -f +PREFIX ?= /usr/local/ +BINDIR ?= ${PREFIX}/bin + +CFLAGS += -ansi + +.PHONY: all +all: buc bus + +install: all + install -d ${BINDIR} + install -m755 buc bus ${BINDIR} + +uninstall: + ${RM} ${BINDIR}/buc ${BINDIR}/bus + +.PHONY: clean +clean: + ${RM} buc bus -- cgit 1.4.1