From 0f9388e1c596c13ae3c317d81e7bcfe23626acc2 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> Date: Thu, 4 Apr 2024 16:56:17 +0200 Subject: Meta: Add rsrc files, moved Elf.h to StdKit. Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> --- makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 7d2b887..7b087e8 100644 --- a/makefile +++ b/makefile @@ -48,13 +48,16 @@ pre-processor: .PHONY: compiler compiler: + windres i64asm.rsrc -O coff -o i64asm.obj + windres 64asm.rsrc -O coff -o 64asm.obj $(LINK_CC) $(COMMON_INC) $(CC_SRC) -o $(CC_OUTPUT) - $(LINK_CC) $(COMMON_INC) $(IASM_SRC) -o $(IASM_OUTPUT) - $(LINK_CC) $(COMMON_INC) $(ASM_SRC) -o $(ASM_OUTPUT) + $(LINK_CC) $(COMMON_INC) i64asm.obj $(IASM_SRC) -o $(IASM_OUTPUT) + $(LINK_CC) $(COMMON_INC) 64asm.obj $(ASM_SRC) -o $(ASM_OUTPUT) .PHONY: linker linker: - $(LINK_CC) $(COMMON_INC) $(LINK_SRC) -o $(LINK_OUTPUT) + windres link.rsrc -O coff -o link.obj + $(LINK_CC) $(COMMON_INC) link.obj $(LINK_SRC) -o $(LINK_OUTPUT) cp $(LINK_OUTPUT) $(LINK_ALT_OUTPUT) cp $(LINK_OUTPUT) $(LINK_ALT_2_OUTPUT) cp $(LINK_OUTPUT) $(LINK_ALT_3_OUTPUT) -- cgit v1.2.3