mirror of
https://github.com/Cracked5pider/Ekko/
synced 2026-06-06 15:34:27 +00:00
20 lines
489 B
Makefile
20 lines
489 B
Makefile
|
|
CCX64 := x86_64-w64-mingw32-gcc
|
|
CCX86 := i686-w64-mingw32-gcc
|
|
|
|
CFLAGS := -Os -fno-asynchronous-unwind-tables
|
|
CFLAGS += -fno-ident -fpack-struct=8 -falign-functions=1
|
|
CFLAGS += -s -ffunction-sections -falign-jumps=1 -w
|
|
CFLAGS += -falign-labels=1 -fPIC # -Wl,-Tscripts/Linker.ld
|
|
CFLAGS += -Wl,-s,--no-seh,--enable-stdcall-fixup
|
|
|
|
OUTX64 := Ekko.x64.exe
|
|
|
|
all: x64
|
|
|
|
x64:
|
|
@ echo Compile executable...
|
|
@ $(CCX64) Src/*.c -o $(OUTX64) $(CFLAGS) $(LFLAGS) -IInclude
|
|
|
|
clean:
|
|
@ rm -rf bin/*.exe
|