From 919f20cb2f112dc65834d97aed828a2b1b70aed0 Mon Sep 17 00:00:00 2001 From: Akuli Date: Thu, 9 Jan 2025 01:26:09 +0200 Subject: [PATCH] Revert "well does this work then" This reverts commit 5fca1ce58ade3029a45fd6bb3812649010e01a7c. --- Makefile.windows | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.windows b/Makefile.windows index 4bffadc9..fb509814 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.