about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-10-01 19:03:26 +0200
committerbptato <nincsnevem662@gmail.com>2023-10-01 19:03:26 +0200
commit9769130e723d6457aaeab4f4f21e29a3fc1573be (patch)
treec82ef0a02c637f158597a93df8c90032f43e0240 /Makefile
parent826412060fc89e4a1603790d1914e4fa5ab41aae (diff)
downloadchawan-9769130e723d6457aaeab4f4f21e29a3fc1573be.tar.gz
makefile fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b9b7654f..85c6ee87 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ debug: lib/libquickjs.a $(OBJDIR)/debug/
 
 .PHONY: debug0
 debug0: lib/libquickjs.a $(OBJDIR)/debug0/
-	$(NIMC) $(FLAGS) --nimcache:$(OBJDIR)/release1 -d:debug --stacktrace:off --linetrace:off --opt:speed $(FILES)
+	$(NIMC) $(FLAGS) --nimcache:$(OBJDIR)/debug0 -d:debug --stacktrace:off --linetrace:off --opt:speed $(FILES)
 
 .PHONY: release
 release: lib/libquickjs.a $(OBJDIR)/release/
@@ -25,13 +25,17 @@ release: lib/libquickjs.a $(OBJDIR)/release/
 release0: lib/libquickjs.a $(OBJDIR)/release0/
 	$(NIMC) $(FLAGS) --nimcache:$(OBJDIR)/release0 -d:release --stacktrace:on $(FILES)
 
+.PHONY: release1
+release1: lib/libquickjs.a $(OBJDIR)/release1/
+	$(NIMC) $(FLAGS) --nimcache:$(OBJDIR)/release1 --debugger:native -d:release $(FILES)
+
 .PHONY: profile
 profile: lib/libquickjs.a $(OBJDIR)/profile/
 	$(NIMC) $(FLAGS) --nimcache:$(OBJDIR)/profile --profiler:on --stacktrace:on -d:profile $(FILES)
 
 .PHONY: profile0
 profile0: lib/libquickjs.a $(OBJDIR)/profile0/
-	$(NIMC) $(FLAGS) --nimcache:$(OBJDIR)/release1 -d:release --passC:"-pg" --passL:"-pg" $(FILES)
+	$(NIMC) $(FLAGS) --nimcache:$(OBJDIR)/profile0 -d:release --passC:"-pg" --passL:"-pg" $(FILES)
 
 $(OBJDIR)/%/:
 	mkdir -p $@