mirror of
https://github.com/tromey/gdb-gui.git
synced 2025-07-20 20:41:28 +02:00
gdb 14 will include gdb.Thread, which handles signal blocking, so we can remove the local hack for this.
18 lines
386 B
Makefile
18 lines
386 B
Makefile
# This is passed to pkg-config to determine which python to use. It
|
|
# has to match your gdb.
|
|
all: gdb-gui.py
|
|
@:
|
|
|
|
gdb-gui.py: gdb-gui.py.in
|
|
sed -e "s,HERE,`pwd`," < gdb-gui.py.in > gdb-gui.py
|
|
|
|
clean:
|
|
-rm gdb-gui.py
|
|
|
|
hack-gdbinit: all
|
|
if test -f $$HOME/.gdbinit && `grep -q gdb-gui $$HOME/.gdbinit`; then \
|
|
:; \
|
|
else \
|
|
echo "source `pwd`/gdb-gui.py" >> $$HOME/.gdbinit; \
|
|
fi
|