2012-05-19 05:24:37 +00:00
|
|
|
PKG_CONFIG = pkg-config
|
|
|
|
|
2002-09-30 00:40:39 +00:00
|
|
|
all:
|
|
|
|
@echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2"
|
|
|
|
|
|
|
|
gnome-ssh-askpass1: gnome-ssh-askpass1.c
|
2014-12-17 23:15:49 +00:00
|
|
|
$(CC) $(CFLAGS) `gnome-config --cflags gnome gnomeui` \
|
2002-09-30 00:40:39 +00:00
|
|
|
gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
|
|
|
|
`gnome-config --libs gnome gnomeui`
|
|
|
|
|
|
|
|
gnome-ssh-askpass2: gnome-ssh-askpass2.c
|
2014-12-17 23:15:49 +00:00
|
|
|
$(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-2.0` \
|
2002-09-30 00:40:39 +00:00
|
|
|
gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
|
2012-05-19 05:24:37 +00:00
|
|
|
`$(PKG_CONFIG) --libs gtk+-2.0 x11`
|
2002-09-30 00:40:39 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass
|