Merge pull request #132 from richinseattle/master

add windows build commands
This commit is contained in:
Andrej
2023-07-26 23:00:33 -07:00
committed by GitHub
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -32,6 +32,10 @@ runfast: run.c
runomp: run.c
$(CC) -Ofast -fopenmp -march=native run.c -lm -o run
.PHONY: win64
win64:
x86_64-w64-mingw32-gcc-win32 -Ofast -D_WIN32 -o run.exe -I. run.c win.c
.PHONY: clean
clean:
rm -f run
+1
View File
@@ -0,0 +1 @@
cl.exe /Ox /openmp /I. run.c win.c