aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorSan Jacobs2022-08-07 07:56:45 +0200
committerSan Jacobs2022-08-07 07:56:45 +0200
commitf850a8e5b64f7018f594b8aa36511caeab00d929 (patch)
treed2529e4376064630c7772c3a3a843cc71404ff14 /makefile
parent969e4465100cc24748f9cd9797beee8e17385f5e (diff)
downloadsatscalc-f850a8e5b64f7018f594b8aa36511caeab00d929.tar.gz
satscalc-f850a8e5b64f7018f594b8aa36511caeab00d929.tar.bz2
satscalc-f850a8e5b64f7018f594b8aa36511caeab00d929.zip
Finally got this compiling on Windows
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/makefile b/makefile
index a65dd4b..979b8c4 100644
--- a/makefile
+++ b/makefile
@@ -30,6 +30,12 @@ $(OBJECTS): obj/%.o : src/%.cpp
mkdir -p obj
$(CXX) -g $(INCLUDE) $(CVERSION) $(CFLAGS) -c $< -o $@
+windows:
+ zig c++ -target x86_64-windows-gnu src/*.cpp -std=c++17 -g -gcodeview
+
+windows32:
+ zig c++ -target i386-windows-gnu src/*.cpp -std=c++17 -g -gcodeview
+
clean:
rm obj/*.o