about summary refs log tree commit diff stats
path: root/makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-08-16 22:56:30 +0200
committerbptato <nincsnevem662@gmail.com>2021-08-16 22:56:30 +0200
commit78dae3335dc964c3c57ee1541de6c6c237e36883 (patch)
treeede323204ccab175312df79d14971fa4c09b68e3 /makefile
parent2f32d6ed51e14d6871c7be4fd1f8ccdc0455a0bb (diff)
downloadchawan-78dae3335dc964c3c57ee1541de6c6c237e36883.tar.gz
Minor changes
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/makefile b/makefile
index b639f06c..5d6e99c6 100644
--- a/makefile
+++ b/makefile
@@ -1,12 +1,10 @@
-NIMC = nim compile
-FLAGS = -o:twt -p:src/ -p:. --import:utils/eprint
+NIMC = nim c
+FLAGS = -o:twt
 FILES = src/main.nim
 
 debug:
 	$(NIMC) $(FLAGS) $(FILES)
 release:
-	$(NIMC) $(FLAGS) -d:release -d:strip $(FILES)
-danger:
-	$(NIMC) $(FLAGS) -d:danger -d:strip $(FILES)
+	$(NIMC) $(FLAGS) -d:release -d:strip -d:lto $(FILES)
 clean:
 	rm ./twt