Files
S4ntiagoP 7994bdc24a add new option: --inthread
run a PE inline without creating a new thread
2024-09-14 15:53:32 -03:00

18 lines
604 B
Makefile

BOFNAME := NoConsolation
CC_x64 := x86_64-w64-mingw32-gcc
CC_x86 := i686-w64-mingw32-gcc
STRIP_x64 := x86_64-w64-mingw32-strip
STRIP_x86 := i686-w64-mingw32-strip
OPTIONS := -masm=intel -Wall -I include
release:
$(CC_x64) -c source/entry.c -o dist/$(BOFNAME).x64.o $(OPTIONS)
$(STRIP_x64) --strip-unneeded dist/$(BOFNAME).x64.o
$(CC_x86) -c source/entry.c -o dist/$(BOFNAME).x86.o $(OPTIONS)
$(STRIP_x86) --strip-unneeded dist/$(BOFNAME).x86.o
debug:
$(CC_x64) -c source/entry.c -o dist/$(BOFNAME).x64.o $(OPTIONS) -DDEBUG
$(CC_x86) -c source/entry.c -o dist/$(BOFNAME).x86.o $(OPTIONS) -DDEBUG