aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-20 17:15:27 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-20 17:15:27 +0100
commit4b06b666a98ea0239b0c72a579f8434246fb2d39 (patch)
treed0adfbdc7902bde91d0730a650bb614218e8d9b4 /Makefile
parent4183d854092f2254ce5e421c5f10a33a70565285 (diff)
downloadnissy-4b06b666a98ea0239b0c72a579f8434246fb2d39.tar.gz
nissy-4b06b666a98ea0239b0c72a579f8434246fb2d39.zip
Added windows binary
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4ffef70..89d866b 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,9 @@ options:
22nissy: 22nissy:
23 ${CC} ${CFLAGS} -o nissy.o src/*.c 23 ${CC} ${CFLAGS} -o nissy.o src/*.c
24 24
25win:
26 x86_64-w64-mingw32-gcc ${CFLAGS} -static -o nissy.exe src/*.c
27
25debug: 28debug:
26 ${CC} ${DBGFLAGS} -o nissy.o src/*.c 29 ${CC} ${DBGFLAGS} -o nissy.o src/*.c
27 30
@@ -50,5 +53,5 @@ uninstall:
50 rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1 53 rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1
51 for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done 54 for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done
52 55
53.PHONY: all options nissy debug clean dist install uninstall 56.PHONY: all options nissy win debug clean dist install uninstall
54 57

Generated with cgit - Back to sebastiano.tronto.net