aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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