about summary refs log tree commit diff stats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 00000000..a3baa746
--- /dev/null
+++ b/makefile
@@ -0,0 +1,14 @@
+NIMC = nim compile
+FLAGS = -d:ssl -o:twt
+FILES = src/main.nim
+
+debug:
+	$(NIMC) $(FLAGS) -d:small $(FILES)
+release:
+	$(NIMC) $(FLAGS) -d:release $(FILES)
+small:
+	$(NIMC) $(FLAGS) -d:danger -d:small $(FILES)
+danger:
+	$(NIMC) $(FLAGS) -d:danger $(FILES)
+clean:
+	rm ./twt