From 0f7d089ee06e8f6a8a7b6426592335b447c60a99 Mon Sep 17 00:00:00 2001 From: sambattalio Date: Thu, 13 Feb 2020 16:52:37 -0500 Subject: [PATCH] Modified Makefile to work on BSD as well --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0953a9d..9adc755 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,9 @@ chad_stride: chad_stride.c $(CC) $(CFLAGS) -o $@ $^ $(LIB) install: chad_stride - install -m 755 -D chad_stride $(PREFIX)/bin/chad_stride + mkdir -p $(PREFIX)/bin + install -m 755 chad_stride $(PREFIX)/bin/chad_stride + ln -s $(PREFIX)/bin/chad_stride $(PREFIX)/bin/cs uninstall: rm -f $(PREFIX)/bin/chad_stride