add a "all" target to compile all necessary stuff in src/
This commit is contained in:
parent
8465b76ba7
commit
9336e8dc05
|
@ -3,6 +3,8 @@ PYTHONVER = `python -V 2>&1 | awk '{print $$2}' | cut -f1,2 -d.`
|
||||||
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fpic -I/usr/include/python$(PYTHONVER) -I.
|
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fpic -I/usr/include/python$(PYTHONVER) -I.
|
||||||
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
|
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
|
||||||
|
|
||||||
|
all: trayicon.so
|
||||||
|
|
||||||
# Build the shared object
|
# Build the shared object
|
||||||
trayicon.so: trayicon.o eggtrayicon.o trayiconmodule.o
|
trayicon.so: trayicon.o eggtrayicon.o trayiconmodule.o
|
||||||
$(CC) $(LDFLAGS) -shared $^ -o $@
|
$(CC) $(LDFLAGS) -shared $^ -o $@
|
||||||
|
|
Loading…
Reference in New Issue