diff options
| -rw-r--r-- | Private/makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Private/makefile b/Private/makefile index 08eeed4e..781da4e8 100644 --- a/Private/makefile +++ b/Private/makefile @@ -3,10 +3,10 @@ # This is the microkernel makefile. ################################################## -CC = x86_64-w64-mingw32-gcc -LD = x86_64-w64-mingw32-ld +CC = x86_64-w64-mingw32-gcc.exe +LD = x86_64-w64-mingw32-ld.exe CCFLAGS = -c -ffreestanding -D__NEWOS_AMD64__ -mgeneral-regs-only -mno-red-zone -fno-rtti -fno-exceptions -std=c++20 -D__FSKIT_NEWFS__ -D__KERNEL__ -D__HAVE_MAHROUSS_APIS__ -D__MAHROUSS__ -I../ -I./ -ASM = nasm +ASM = nasm.exe ifneq ($(ATA_PIO_SUPPORT), ) DISKDRIVER = -D__ATA_PIO__ @@ -40,10 +40,11 @@ error: @echo "Use a specific target." MOVEALL=./MoveAll.sh +WINDRES=x86_64-w64-mingw32-windres.exe .PHONY: newos-amd64-epm newos-amd64-epm: clean - windres KernelRsrc.rsrc -O coff -o KernelRsrc.obj + $(WINDRES) KernelRsrc.rsrc -O coff -o KernelRsrc.obj $(CC) $(CCFLAGS) $(DISKDRIVER) $(DEBUG) $(wildcard Source/*.cxx) $(wildcard Source/FS/*.cxx) $(wildcard HALKit/AMD64/Storage/*.cxx) $(wildcard HALKit/AMD64/PCI/*.cxx) $(wildcard Source/Network/*.cxx) $(wildcard Source/Storage/*.cxx) $(wildcard HALKit/AMD64/*.cxx) $(wildcard HALKit/AMD64/*.cpp) $(wildcard HALKit/AMD64/*.s) $(ASM) $(ASMFLAGS) HALKit/AMD64/HalInterruptAPI.asm $(ASM) $(ASMFLAGS) HALKit/AMD64/HalSMPCoreManager.asm |
