Files
gdb-gui/Makefile
Tom Tromey 7c9b1fb65b Use gdb.Thread
gdb 14 will include gdb.Thread, which handles signal blocking,
so we can remove the local hack for this.
2023-11-22 20:56:23 -07:00

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