aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-27 19:57:53 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-27 19:57:53 +0100
commit0f65f1b71124cb974cf06c32439c2a2bad422659 (patch)
tree81d242c44a7bd3d4fa5067c5779f66b76c124243 /Makefile
parent7fa599fa5b8fef0dcd972a2dec70157affe25a63 (diff)
downloadnissy-0f65f1b71124cb974cf06c32439c2a2bad422659.tar.gz
nissy-0f65f1b71124cb974cf06c32439c2a2bad422659.zip
added -static, minor changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 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
6MANPREFIX = ${PREFIX}/share/man 6MANPREFIX = ${PREFIX}/share/man
7 7
8CPPFLAGS = -DVERSION=\"${VERSION}\" 8CPPFLAGS = -DVERSION=\"${VERSION}\"
9CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -O3 ${CPPFLAGS} 9CFLAGS = -std=c99 -static -pthread -pedantic -Wall -Wextra \
10DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -g ${CPPFLAGS} 10 -Wno-unused-parameter -O3 ${CPPFLAGS}
11DBGFLAGS = -std=c99 -static -pthread -pedantic -Wall -Wextra \
12 -Wno-unused-parameter -g ${CPPFLAGS}
11 13
12CC = cc 14CC = cc
13 15
@@ -23,7 +25,7 @@ nissy:
23 ${CC} ${CFLAGS} -o nissy.o src/*.c 25 ${CC} ${CFLAGS} -o nissy.o src/*.c
24 26
25win: 27win:
26 x86_64-w64-mingw32-gcc ${CFLAGS} -static -o nissy.exe src/*.c 28 x86_64-w64-mingw32-gcc ${CFLAGS} -o nissy.exe src/*.c
27 29
28debug: 30debug:
29 ${CC} ${DBGFLAGS} -o nissy.o src/*.c 31 ${CC} ${DBGFLAGS} -o nissy.o src/*.c

Generated with cgit - Back to sebastiano.tronto.net