fix Makefile

Fix buglet in the new Makefile, and remove gui/Makefile.
This commit is contained in:
Tom Tromey
2013-06-06 20:15:09 -06:00
parent b17c070954
commit 89e1b604c8
3 changed files with 10 additions and 5 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
*.pyc
*.o
*.so
SourceMe.py

View File

@@ -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

View File

@@ -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`