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 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.3