diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-27 19:57:53 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-27 19:57:53 +0100 |
| commit | 0f65f1b71124cb974cf06c32439c2a2bad422659 (patch) | |
| tree | 81d242c44a7bd3d4fa5067c5779f66b76c124243 | |
| parent | 7fa599fa5b8fef0dcd972a2dec70157affe25a63 (diff) | |
| download | nissy-0f65f1b71124cb974cf06c32439c2a2bad422659.tar.gz nissy-0f65f1b71124cb974cf06c32439c2a2bad422659.zip | |
added -static, minor changes
| -rw-r--r-- | Makefile | 8 | ||||
| -rwxr-xr-x | nissy.exe | bin | 684963 -> 633301 bytes |
2 files changed, 5 insertions, 3 deletions
| @@ -6,8 +6,10 @@ PREFIX = /usr/local | |||
| 6 | MANPREFIX = ${PREFIX}/share/man | 6 | MANPREFIX = ${PREFIX}/share/man |
| 7 | 7 | ||
| 8 | CPPFLAGS = -DVERSION=\"${VERSION}\" | 8 | CPPFLAGS = -DVERSION=\"${VERSION}\" |
| 9 | CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -O3 ${CPPFLAGS} | 9 | CFLAGS = -std=c99 -static -pthread -pedantic -Wall -Wextra \ |
| 10 | DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -g ${CPPFLAGS} | 10 | -Wno-unused-parameter -O3 ${CPPFLAGS} |
| 11 | DBGFLAGS = -std=c99 -static -pthread -pedantic -Wall -Wextra \ | ||
| 12 | -Wno-unused-parameter -g ${CPPFLAGS} | ||
| 11 | 13 | ||
| 12 | CC = cc | 14 | CC = 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 | ||
| 25 | win: | 27 | win: |
| 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 | ||
| 28 | debug: | 30 | debug: |
| 29 | ${CC} ${DBGFLAGS} -o nissy.o src/*.c | 31 | ${CC} ${DBGFLAGS} -o nissy.o src/*.c |
| Binary files differ | |||
