Proof-of-Concept-Collection/Cross Platform/Rootkits/Libpreload/Makefile

14 lines
252 B
Makefile
Raw Permalink Normal View History

2022-01-13 17:21:27 +00:00
GCC=gcc
CFLAGS=-Wall -fPIC -shared
LDFLAGS=-ldl
SOURCE=libpreload.c
TARGET=libpreload.so
STRIP=/usr/bin/strip
all:
$(GCC) $(CFLAGS) $(SOURCE) -o $(TARGET) $(LDFLAGS)
$(GCC) $(CFLAGS) test.c -o 31337/31337test
clean:
-rm $(TARGET) 31337/31337test