mirror of
https://github.com/NtDallas/BOF_RunPe
synced 2026-06-06 16:24:28 +00:00
16 lines
445 B
Makefile
16 lines
445 B
Makefile
#Makefile
|
|
|
|
CCX64 = x86_64-w64-mingw32-gcc
|
|
LDX64 = x86_64-w64-mingw32-ld
|
|
|
|
CFLAGS = -w -Os -s -m64 -masm=intel -fno-builtin -fno-jump-tables
|
|
|
|
TEMP_PATH = Bin/temp
|
|
|
|
draugr:
|
|
@ nasm -f win64 Src/Stub.s -o $(TEMP_PATH)/Stub.o
|
|
@ $(CCX64) -c Src/Bof.c $(CFLAGS) -o $(TEMP_PATH)/Bof.o
|
|
@ $(CCX64) -c Src/Draugr.c $(CFLAGS) -o $(TEMP_PATH)/Draugr.o
|
|
@ $(LDX64) --allow-multiple-definition -r $(TEMP_PATH)/*.o -o Bin/runpe.o
|
|
@ echo "[*] BOF Ready "
|