: nply/fiche2

commit 4537a6897acda758a3be1b1163082e309c21f2d7
parent e2daffecd3bda2e68e2b0231e1783d8b77e9b11e
Author: solusipse <solus1ps3@gmail.com>
Date: Mon, 9 Oct 2017 19:22:40 +0200

Merge pull request #62 from dotlambda/patch-1

Move /bin suffix to $prefix
1 file changed, 2 insertions(+), 2 deletions(-)
M
Makefile
|
4
++--
diff --git a/Makefile b/Makefile
@@ -1,12 +1,12 @@
 # for debug add -g -O0 to line below
 CFLAGS+=-pthread -O2 -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -std=gnu11 -g -O0
-prefix=/usr/local
+prefix=/usr/local/bin
 
 all:
 	${CC} main.c fiche.c $(CFLAGS) -o fiche
 
 install: fiche
-	install -m 0755 fiche $(prefix)/bin
+	install -m 0755 fiche $(prefix)
 
 clean:
 	rm -f fiche