################################################## # (C) Mahrouss Logic, all rights reserved. # This is the System.Graphics Makefile. ################################################## CC=x86_64-w64-mingw32-g++ CCFLAGS=-shared -ffreestanding -D__SINGLE_PRECISION__ -nostdlib -fno-rtti -fno-exceptions -std=c++20 -Xlinker --subsystem=17 OUTPUT=System.Core.lib .PHONY: build-core-amd64 build-core-amd64: $(CC) -I../ -I$(HOME) -I../../../Private/ $(CCFLAGS) $(wildcard Sources/*.c) $(wildcard Sources/*.cxx) $(wildcard AMD64/*.s) -o $(OUTPUT) .PHONY: all all: build-core @echo "[System.Core.dll] Build done." .PHONY: clean clean: rm -f *.o