Proof-of-Concept-Collection/Cross Platform/Rootkits/Libpreload/Makefile
2022-01-13 11:21:27 -06:00

14 lines
252 B
Makefile

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