commit 0f65f1b71124cb974cf06c32439c2a2bad422659 parent 7fa599fa5b8fef0dcd972a2dec70157affe25a63 Author: Sebastiano Tronto <sebastiano.tronto@gmail.com> Date: Sat, 27 Nov 2021 19:57:53 +0100 added -static, minor changes Diffstat:
M | Makefile | | | 8 | +++++--- |
M | nissy.exe | | | 0 |
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git 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 Binary files differ.