diff options
Diffstat (limited to 'Public/Developer/System.Core/Makefile')
| -rw-r--r-- | Public/Developer/System.Core/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
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) |
