Debian Codegraph @

cptrace/Makefile

raw
1 CC=gcc
2 CFLAGS=-fPIC -shared -Wall -Wextra -Wextra $(shell python-config --cflags)
3 LIBS=$(shell python-config --libs)
4 LIBRARY=cptrace.so
5
6 $(LIBRARY): cptrace.c
7 $(CC) -o $@ $< $(CFLAGS) $(LIBS)
8
9 clean:
10 rm -f $(LIBRARY)