From 5fca1ce58ade3029a45fd6bb3812649010e01a7c Mon Sep 17 00:00:00 2001 From: Akuli Date: Thu, 9 Jan 2025 01:21:30 +0200 Subject: [PATCH] well does this work then --- Makefile.windows | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.windows b/Makefile.windows index fb509814..4bffadc9 100644 --- a/Makefile.windows +++ b/Makefile.windows @@ -26,9 +26,9 @@ config.jou: # Stage 1 of bootstrapping: Compile the bootstrap compiler with a C compiler. BSRC := $(wildcard bootstrap_compiler/*.c) -bootstrap/obj/%.o: bootstrap_compiler/%.c $(wildcard bootstrap_compiler/*.h) config.h +bootstrap_obj_%.o: bootstrap_compiler/%.c $(wildcard bootstrap_compiler/*.h) config.h mkdir -p bootstrap/obj && $(CC) -c $(CFLAGS) $< -o $@ -bootstrap/stage1.exe: $(BSRC:bootstrap_compiler/%.c=bootstrap/obj/%.o) +bootstrap/stage1.exe: $(BSRC:bootstrap_compiler/%.c=bootstrap_obj_%.o) $(CC) $(CFLAGS) $^ -o bootstrap/stage1.exe $(LDFLAGS) # Stage 2 of bootstrapping: Compile the Jou compiler with the bootstrap compiler.