Show More
@@ -19,6 +19,10 b' TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)' | |||
|
19 | 19 | # Set this to e.g. "mingw32" to use a non-default compiler. |
|
20 | 20 | COMPILER= |
|
21 | 21 | |
|
22 | COMPILERFLAG_tmp_ = | |
|
23 | COMPILERFLAG_tmp_${COMPILER} ?= -c $(COMPILER) | |
|
24 | COMPILERFLAG=${COMPILERFLAG_tmp_${COMPILER}} | |
|
25 | ||
|
22 | 26 | help: |
|
23 | 27 | @echo 'Commonly used make targets:' |
|
24 | 28 | @echo ' all - build program and documentation' |
@@ -43,16 +47,16 b' all: build doc' | |||
|
43 | 47 | local: |
|
44 | 48 | $(PYTHON) setup.py $(PURE) \ |
|
45 | 49 | build_py -c -d . \ |
|
46 |
build_ext $(COMPILER |
|
|
47 |
build_hgexe $(COMPILER |
|
|
50 | build_ext $(COMPILERFLAG) -i \ | |
|
51 | build_hgexe $(COMPILERFLAG) -i \ | |
|
48 | 52 | build_mo |
|
49 | 53 | env HGRCPATH= $(PYTHON) hg version |
|
50 | 54 | |
|
51 | 55 | build: |
|
52 |
$(PYTHON) setup.py $(PURE) build $(COMPILER |
|
|
56 | $(PYTHON) setup.py $(PURE) build $(COMPILERFLAG) | |
|
53 | 57 | |
|
54 | 58 | wheel: |
|
55 |
FORCE_SETUPTOOLS=1 $(PYTHON) setup.py $(PURE) bdist_wheel $(COMPILER |
|
|
59 | FORCE_SETUPTOOLS=1 $(PYTHON) setup.py $(PURE) bdist_wheel $(COMPILERFLAG) | |
|
56 | 60 | |
|
57 | 61 | doc: |
|
58 | 62 | $(MAKE) -C doc |
General Comments 0
You need to be logged in to leave comments.
Login now