1 PKG_CONFIG = pkg-config
4 @echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2"
6 gnome-ssh-askpass1: gnome-ssh-askpass1.c
7 $(CC) `gnome-config --cflags gnome gnomeui` \
8 gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
9 `gnome-config --libs gnome gnomeui`
11 gnome-ssh-askpass2: gnome-ssh-askpass2.c
12 $(CC) `$(PKG_CONFIG) --cflags gtk+-2.0` \
13 gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
14 `$(PKG_CONFIG) --libs gtk+-2.0 x11`
17 rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass