about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-06-23 14:47:11 +0200
committerbptato <nincsnevem662@gmail.com>2023-06-23 14:47:11 +0200
commit7e46832b4fc33dedcc4ecf66237c7a01080e998b (patch)
tree0d4c9f96528ef871c5fc17475d4d6026682ce051
parent966ca6213c2902778ad28a673c272713ebd0a132 (diff)
downloadchawan-7e46832b4fc33dedcc4ecf66237c7a01080e998b.tar.gz
Add dir to qjs target, rename makefile
-rw-r--r--Makefile (renamed from makefile)2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/Makefile
index 9ed2b906..084880c6 100644
--- a/makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ profile: lib/libquickjs.a $(OBJDIR)/profile
 $(OBJDIR)/%:
 	mkdir -p $@
 
-$(QJSOBJ)/%.o: lib/quickjs/%.c
+$(QJSOBJ)/%.o: lib/quickjs/%.c | $(QJSOBJ)
 	echo $@
 	$(CC) $(CFLAGS) -c -o $@ $<