2011-07-03 18:00:07 -04:00
|
|
|
includes := $(shell pkg-config --libs --cflags gtk+-2.0)
|
2011-12-04 20:53:41 -05:00
|
|
|
executables := gtk_icon_example trayicon hide xtypes
|
2011-07-03 18:00:07 -04:00
|
|
|
|
2011-07-10 06:45:36 -04:00
|
|
|
.PHONY: all
|
2011-12-04 20:53:41 -05:00
|
|
|
all: $(executables)
|
2011-07-10 06:45:36 -04:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2011-12-04 20:53:41 -05:00
|
|
|
rm $(executables)
|
2011-07-10 06:45:36 -04:00
|
|
|
|
|
|
|
gtk_icon_example: gtk_icon_example.c
|
|
|
|
gcc $(includes) -o gtk_icon_example gtk_icon_example.c
|
|
|
|
|
|
|
|
trayicon: trayicon.c
|
|
|
|
gcc $(includes) -o trayicon trayicon.c
|
|
|
|
|
|
|
|
hide: hide.c
|
|
|
|
gcc $(includes) -o hide hide.c
|
2011-12-04 20:53:41 -05:00
|
|
|
|
|
|
|
xtypes: xtypes.c
|
|
|
|
gcc $(includes) -o xtypes xtypes.c
|