aroplat

Utilitaire pour manipuler le format aroplat (métaformat de plat)
git clone git://git.asteride.xyz/~ldp/aroplat.git
Journaux | Fichiers | Références | LICENCE

commit 6dc32b4fe0e8e8b763d7f182756b30f2752ca971
parent c8d30e278f86c9904a947c6b334237c044b5ed8d
Auteur: Selve <selve@asteride.xyz>
Date:   Wed, 24 Jan 2024 21:25:27 -0500

réorganisation du Makefile

Diffstat:
MMakefile | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,6 +1,9 @@ -COPT = -Wall -Wextra -Werror --std=c89 -O2 -CC = cc -PREFIX = "/usr/local/bin" +PREFIX = /usr/local +BIN_DOS = ${PREFIX}/bin + +CC = cc +COPTS_SPCL = -O2 -DNDEBUG +COPTS = -Wall -Wextra -Werror -Wpedantic --std=c89 -O2 ${COPTS_SPCL} .SUFFIXES: .c .o .c.o: @@ -12,7 +15,7 @@ bloquer: bloquer.o meta.o tampon.o ${CC} ${COPT} -o "$@" bloquer.o meta.o tampon.o install: bloquer - install -m 755 bloquer ${PREFIX}/bloquer + install -m 755 bloquer ${BIN_DOS}/bloquer uninstall: rm -f ${PREFIX}/bloquer