aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-02-09 06:34:38 -0500
committerPaul Duncan <pabs@pablotron.org>2019-02-09 06:34:38 -0500
commit0f9b8cbe1419e30fee5277de4e7254591c39ac2f (patch)
treed380934693fd6d1559859227f6bd64cc4496d4b7 /Makefile
parentea56aca669d38f9f810d48f83556fe02c66d54c1 (diff)
downloadkmeans-0f9b8cbe1419e30fee5277de4e7254591c39ac2f.tar.bz2
kmeans-0f9b8cbe1419e30fee5277de4e7254591c39ac2f.zip
add win32 supportHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 11e4f11..5796eb4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
+# to cross-compile:
+# WIN32_APP=km-test.exe
+# WIN32_CC=x86_64-w64-mingw32-gcc
+# WIN32_CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O2 -D__USE_MINGW_ANSI_STDIO=1
APP=km-test
CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O2 -fopenmp
OBJS=src/km-set.o src/km-draw.o src/km-load.o src/km-find.o \