mirror of
https://github.com/tromey/gdb-gui.git
synced 2026-01-06 16:40:04 +01:00
add a Makefile
This adds a top-level Makefile and fixes up SourceMe.py to be built by it.
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
*~
|
||||||
|
*.pyc
|
||||||
|
*.o
|
||||||
|
*.so
|
||||||
5
Makefile
Normal file
5
Makefile
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
all: SourceMe.py
|
||||||
|
cd gui && $(MAKE)
|
||||||
|
|
||||||
|
SourceMe.py: SourceMe.py.in
|
||||||
|
sed -e "s,HERE,$(pwd)," < SourceMe.py.in > SourceMe.py
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
import sys
|
|
||||||
sys.path.append('/home/tromey/gnu/archer/gui')
|
|
||||||
import gui.commands
|
|
||||||
3
SourceMe.py.in
Normal file
3
SourceMe.py.in
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
import sys
|
||||||
|
sys.path.append('HERE')
|
||||||
|
import gui.commands
|
||||||
Reference in New Issue
Block a user