Codebase list donut-shellcode / e9c42bdf-6809-4fb6-8077-3e327bc7ca86/main Makefile
e9c42bdf-6809-4fb6-8077-3e327bc7ca86/main

Tree @e9c42bdf-6809-4fb6-8077-3e327bc7ca86/main (Download .tar.gz)

Makefile @e9c42bdf-6809-4fb6-8077-3e327bc7ca86/mainraw · history · blame

1
2
3
4
5
6
7
8
9
donut:
	gcc -Wall -fpack-struct=8 -DDONUT_EXE -I include donut.c hash.c encrypt.c payload/clib.c -odonut
	gcc -Wall -c -fpack-struct=8 -fPIC -I include donut.c hash.c encrypt.c payload/clib.c
	ar rcs lib/libdonut.a donut.o hash.o encrypt.o clib.o
	gcc -Wall -shared -o lib/libdonut.so donut.o hash.o encrypt.o clib.o
debug:
	gcc -Wall -Wno-format -fpack-struct=8 -DDEBUG -DDONUT_EXE -I include donut.c hash.c encrypt.c payload/clib.c -odonut
clean:
	rm *.o donut lib/libdonut.a lib/libdonut.so