nissy-classic

Stable branch of nissy
git clone https://git.tronto.net/nissy-classic
Download | Log | Files | Refs | README | LICENSE

commit a39efe5206ba5d4fd2d21694835dd26d949caadb
parent 9352746b95920fc75dfd8c01ecac048e79b7ae02
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date:   Fri,  3 Dec 2021 11:19:08 +0100

Fix issues #1 and #2 (thanks to Thomas Rokicki)

Diffstat:
MMakefile | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile @@ -6,9 +6,9 @@ PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man CPPFLAGS = -DVERSION=\"${VERSION}\" -CFLAGS = -std=c99 -static -pthread -pedantic -Wall -Wextra \ +CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ -Wno-unused-parameter -O3 ${CPPFLAGS} -DBGFLAGS = -std=c99 -static -pthread -pedantic -Wall -Wextra \ +DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ -Wno-unused-parameter -g ${CPPFLAGS} CC = cc @@ -22,16 +22,16 @@ options: @echo "CC = ${CC}" nissy: - ${CC} ${CFLAGS} -o nissy.o src/*.c + ${CC} ${CFLAGS} -o nissy src/*.c win: - x86_64-w64-mingw32-gcc ${CFLAGS} -o nissy.exe src/*.c + x86_64-w64-mingw32-gcc ${CFLAGS} -static -o nissy.exe src/*.c debug: - ${CC} ${DBGFLAGS} -o nissy.o src/*.c + ${CC} ${DBGFLAGS} -o nissy src/*.c clean: - rm -rf nissy.o nissy-${VERSION}.tar.gz + rm -rf nissy nissy-${VERSION}.tar.gz dist: clean mkdir -p nissy-${VERSION} @@ -42,9 +42,9 @@ dist: clean gzip nissy-${VERSION}.tar rm -rf nissy-${VERSION} -install: nissy.o +install: nissy mkdir -p ${DESTDIR}${PREFIX}/bin - cp -f nissy.o ${DESTDIR}${PREFIX}/bin/nissy + cp -f nissy ${DESTDIR}${PREFIX}/bin/nissy chmod 755 ${DESTDIR}${PREFIX}/bin/nissy mkdir -p ${DESTDIR}${MANPREFIX}/man1 sed "s/VERSION/${VERSION}/g" < doc/nissy.1 \