forked from pard0p/PICO-Implant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (20 loc) · 864 Bytes
/
Makefile
File metadata and controls
24 lines (20 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CC_64=x86_64-w64-mingw32-gcc
all: bin/stage1.x64.o
bin:
mkdir bin
#
# x64 targets
#
bin/stage1.x64.o: bin
$(CC_64) -DWIN_X64 -shared -masm=intel -Wall -Wno-pointer-arith -c src/guardrail.c -o bin/guardrail.x64.o
$(CC_64) -DWIN_X64 -shared -masm=intel -Wall -Wno-pointer-arith -c src/stage1.c -o bin/stage1.x64.o
$(CC_64) -DWIN_X64 -shared -masm=intel -Wall -Wno-pointer-arith -c src/stage2.c -o bin/stage2.x64.o
$(CC_64) -DWIN_X64 -shared -Wall -Wno-pointer-arith -c src/hooks.c -o bin/hooks.x64.o
$(CC_64) -DWIN_X64 -shared -masm=intel -Wall -Wno-pointer-arith -c src/entry.c -o bin/entry.x64.o
$(CC_64) -DWIN_X64 -shared -masm=intel -Wall -Wno-pointer-arith -c src/transport.c -o bin/transport.x64.o
$(CC_64) -DWIN_X64 -shared -masm=intel -Wall -Wno-pointer-arith -c src/obfuscation.c -o bin/obfuscation.x64.o
#
# Other targets
#
clean:
rm -f bin/*