Skip to content

Commit 3218288

Browse files
author
Chad Smith
committed
update makefile to run cpython in gdbgui
1 parent 61d6453 commit 3218288

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

examples/makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,18 @@ go: hello.go
1313
rust: hello.rs
1414
rustc -g hello.rs -o rust.a
1515
../gdbgui/backend.py rust.a
16+
17+
# ever wonder how cpython works?
18+
.PHONY: python
19+
python: cpython/python
20+
gdbgui cpython/python
21+
22+
cpython:
23+
git clone https://github.com/python/cpython.git
24+
25+
cpython/Makefile: cpython
26+
cd cpython && ./configure
27+
28+
cpython/python: cpython cpython/Makefile
29+
make -C cpython -j4
30+

0 commit comments

Comments
 (0)