dynamic-dso/Makefile

14 lines
241 B
Makefile

CFLAGS += -std=gnu17 -fPIC -fPIE -g -Wall -fsanitize=address
LDFLAGS += -ldl -lc -lm -pie -g -fsanitize=address
#LDFLAGS += -Wl,-I,$(HOME)/src/glibc/glibc-build/elf/ld-linux-x86-64.so.2
dynso: dynso.c
clean:
$(RM) dynso
.PHONY: clean