aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fa9cbde..960d3af 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,18 @@ build: dir $(OBJ)
@$(CC) $(CFLAGS) -o $(BUILDDIR)/$(OUTPUT) $(OBJ) $(LDFLAGS)
debug: CFLAGS += -g -D _DEBUG
-debug: build;
+debug: debug_set build;
+
+#CLEAN BEFORE WINDOWS BUILD!!!
+windows: CC = x86_64-w64-mingw32-gcc
+windows: OUTPUT =hs.exe
+windows: build;
+
+windows_debug: CC = x86_64-w64-mingw32-gcc
+windows_debug: OUTPUT =hs.exe
+windows_debug: CFLAGS += -g -D _DEBUG
+windows_debug: build;
+
dir:
@mkdir -p $(OBJECTDIR)