about summary refs log tree commit diff stats
path: root/makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-08-04 17:54:27 +0200
committerbptato <nincsnevem662@gmail.com>2021-08-04 17:54:27 +0200
commitcaad7b577162a73524277a943050493c489bfb59 (patch)
treea149be40ceebc4303d94c797d2a62ef62b1a42a0 /makefile
parent34b023515599bc746c10c597467ecb07f53c49fe (diff)
downloadchawan-caad7b577162a73524277a943050493c489bfb59.tar.gz
More css stuff
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