ebpf-challenge/GetRuntimeAddresses/symbolyze/testdata/Makefile
2022-11-17 14:53:47 +01:00

13 lines
249 B
Makefile

CC=gcc
PC=python3.11-config
PIE=-fPIE # this was necessary on my machine
CFLAGS=$(shell $(PC) --embed --cflags)
LDFLAGS=$(shell $(PC) --embed --ldflags)
simple: simple.o
$(CC) -o $@ $< $(LDFLAGS)
simple.o: simple.c
$(CC) -c $(CFLAGS) $(PIE) $<