From d562c97291a69d1ce73e89ba300209a49d419173 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Mar 2024 22:49:49 +0100 Subject: Extend Swap HD from 4MIB to 16MIB, Made SystemLib purely C, added SystemCxxLib for that occasion. Update Framebuffer include to define the color utils inside the C++ source file. Signed-off-by: Amlal El Mahrouss --- Public/Developer/System.Core/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'Public/Developer/System.Core/Makefile') diff --git a/Public/Developer/System.Core/Makefile b/Public/Developer/System.Core/Makefile index 34851e99..b9a0a663 100644 --- a/Public/Developer/System.Core/Makefile +++ b/Public/Developer/System.Core/Makefile @@ -3,19 +3,21 @@ # This is the SystemLib Makefile. ################################################## -CC=x86_64-w64-mingw32-g++ -CCINC=-I../ -I../../../Private/ -CCFLAGS=-shared -ffreestanding -D__SINGLE_PRECISION__ -nostdlib -fno-rtti -fno-exceptions -std=c++20 -Xlinker --subsystem=17 +CC=x86_64-w64-mingw32-gcc +AR=x86_64-w64-mingw32-ar +ARFLAGS=-rcs +CCINC=-I../ +CCFLAGS=-D__SINGLE_PRECISION__ -nostdlib -std=c17 -ffreestanding -Xlinker --subsystem=17 -shared OUTPUT=SystemLib.lib -.PHONY: build-core-amd64 -build-core-amd64: - $(CC) $(CCINC) $(CCFLAGS) $(wildcard Sources/*.c) $(wildcard Sources/*.cxx) $(wildcard AMD64/*.s) -o $(OUTPUT) - .PHONY: all all: build-core-amd64 @echo "[SystemLib.lib] Build done." +.PHONY: build-core-amd64 +build-core-amd64: + $(CC) $(CCINC) $(CCFLAGS) $(wildcard Sources/*.c) $(wildcard AMD64/*.s) -o $(OUTPUT) + .PHONY: clean clean: - rm -f *.o + rm -f $(wildcard *.o) -- cgit v1.2.3