mirror of
https://github.com/tromey/gdb-gui.git
synced 2026-01-08 01:00:06 +01:00
fix Makefile
Fix buglet in the new Makefile, and remove gui/Makefile.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
*.pyc
|
||||
*.o
|
||||
*.so
|
||||
SourceMe.py
|
||||
|
||||
12
Makefile
12
Makefile
@@ -1,5 +1,11 @@
|
||||
all: SourceMe.py
|
||||
cd gui && $(MAKE)
|
||||
all: SourceMe.py gui/fix_signals.so
|
||||
@:
|
||||
|
||||
SourceMe.py: SourceMe.py.in
|
||||
sed -e "s,HERE,$(pwd)," < SourceMe.py.in > SourceMe.py
|
||||
sed -e "s,HERE,`pwd`," < SourceMe.py.in > SourceMe.py
|
||||
|
||||
gui/fix_signals.so: gui/fix-signals.c
|
||||
gcc -shared -fPIC -g -o gui/fix_signals.so gui/fix-signals.c `pkg-config --cflags python` `pkg-config --libs python`
|
||||
|
||||
clean:
|
||||
-rm SourceMe.py gui/fix_signals.so
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
fix_signals.so: fix-signals.c
|
||||
gcc -shared -fPIC -g -o fix_signals.so fix-signals.c `pkg-config --cflags python` `pkg-config --libs python`
|
||||
Reference in New Issue
Block a user