File: Makefile

package info (click to toggle)
python-ptrace 0.9.9-0.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 788 kB
  • sloc: python: 10,167; ansic: 263; makefile: 164
file content (10 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
CC=gcc
CFLAGS=-fPIC -shared -Wall -Wextra -Wextra $(shell python-config --cflags)
LIBS=$(shell python-config --libs)
LIBRARY=cptrace.so

$(LIBRARY): cptrace.c
	$(CC) -o $@ $< $(CFLAGS) $(LIBS)

clean:
	rm -f $(LIBRARY)