From 0f65f1b71124cb974cf06c32439c2a2bad422659 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 27 Nov 2021 19:57:53 +0100 Subject: added -static, minor changes --- Makefile | 8 +++++--- nissy.exe | Bin 684963 -> 633301 bytes 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 89d866b..85d696e 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,10 @@ PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man CPPFLAGS = -DVERSION=\"${VERSION}\" -CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -O3 ${CPPFLAGS} -DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -g ${CPPFLAGS} +CFLAGS = -std=c99 -static -pthread -pedantic -Wall -Wextra \ + -Wno-unused-parameter -O3 ${CPPFLAGS} +DBGFLAGS = -std=c99 -static -pthread -pedantic -Wall -Wextra \ + -Wno-unused-parameter -g ${CPPFLAGS} CC = cc @@ -23,7 +25,7 @@ nissy: ${CC} ${CFLAGS} -o nissy.o src/*.c win: - x86_64-w64-mingw32-gcc ${CFLAGS} -static -o nissy.exe src/*.c + x86_64-w64-mingw32-gcc ${CFLAGS} -o nissy.exe src/*.c debug: ${CC} ${DBGFLAGS} -o nissy.o src/*.c diff --git a/nissy.exe b/nissy.exe index 400d674..e036d43 100755 Binary files a/nissy.exe and b/nissy.exe differ -- cgit v1.3