add a "all" target to compile all necessary stuff in src/

This commit is contained in:
Vincent Hanquez 2005-04-24 10:19:34 +00:00
parent 8465b76ba7
commit 9336e8dc05
1 changed files with 2 additions and 0 deletions

View File

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