2012-08-29 15:55:54 +00:00
|
|
|
PKG_CONFIG = pkg-config
|
|
|
|
|
2008-07-23 09:15:38 +00:00
|
|
|
all:
|
|
|
|
@echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2"
|
|
|
|
|
|
|
|
gnome-ssh-askpass1: gnome-ssh-askpass1.c
|
|
|
|
$(CC) `gnome-config --cflags gnome gnomeui` \
|
|
|
|
gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
|
|
|
|
`gnome-config --libs gnome gnomeui`
|
|
|
|
|
|
|
|
gnome-ssh-askpass2: gnome-ssh-askpass2.c
|
2012-08-29 15:55:54 +00:00
|
|
|
$(CC) `$(PKG_CONFIG) --cflags gtk+-2.0` \
|
2008-07-23 09:15:38 +00:00
|
|
|
gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
|
2012-08-29 15:55:54 +00:00
|
|
|
`$(PKG_CONFIG) --libs gtk+-2.0 x11`
|
2008-07-23 09:15:38 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass
|