From dffa6e54ea424eb6037fa33f7565e6373ff37650 Mon Sep 17 00:00:00 2001 From: Polyester Date: Wed, 2 Oct 2024 22:38:38 +0200 Subject: guix.scm packaging --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bb08f4c..5d32d20 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ CC=gcc CFLAGS ?= -Wall -g -I./include +PREFIX=/usr/local +BINDIR=$(PREFIX)/bin +MANDIR=$(PREFIX)/share/man + + mcping: mcping.c mctypes.o mcnetwork.o $(CC) $(CFLAGS) $^ -o $@ @@ -17,4 +22,4 @@ clean: rm -f *.o *~ install: mcping - cp $^ $(PREFIX)/bin + install -D -m 0755 -t $(DESTDIR)$(BINDIR) $^ -- cgit v1.2.3