diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 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 |
