File: Makefile.ext

package info (click to toggle)
python-http-parser 0.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 312 kB
  • sloc: ansic: 1,860; python: 1,072; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 415 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This file is renamed to "Makefile.ext" in release tarballs so that
# setup.py won't try to run it.  If you want setup.py to run "make"
# automatically, rename it back to "Makefile".

all: http_parser/parser.c

http_parser/parser.c: http_parser/parser.pyx
	cython3 -o http_parser.parser.c http_parser/parser.pyx
	mv http_parser.parser.c http_parser/parser.c

clean:
	rm -f http_parser/parser.c


.PHONY: clean all