diff options
Diffstat (limited to 'Public/Developer/SystemLib/Makefile')
| -rw-r--r-- | Public/Developer/SystemLib/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Public/Developer/SystemLib/Makefile b/Public/Developer/SystemLib/Makefile new file mode 100644 index 00000000..21b21ad9 --- /dev/null +++ b/Public/Developer/SystemLib/Makefile @@ -0,0 +1,23 @@ +################################################## +# (C) Mahrouss Logic, all rights reserved. +# This is the SystemLib Makefile. +################################################## + +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: 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 $(wildcard *.o) |
