From f850a8e5b64f7018f594b8aa36511caeab00d929 Mon Sep 17 00:00:00 2001 From: San Jacobs Date: Sun, 7 Aug 2022 07:56:45 +0200 Subject: Finally got this compiling on Windows --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'makefile') 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 -- cgit v1.2.1