1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-11-14 04:45:02 -05:00
FireTray/testing/Makefile

39 lines
1.2 KiB
Makefile
Raw Normal View History

includes_gtk := $(shell pkg-config --libs --cflags gtk+-2.0)
includes_gdk_gtk := $(shell pkg-config --libs --cflags gdk-2.0 gtk+-2.0)
executables := gtk_icon_example trayicon hide xtypes x11XGetWindowProp \
window_state_event xev_desktop teststatusicon gtk-version
2011-07-03 18:00:07 -04:00
.PHONY: all
all: $(executables)
.PHONY: clean
clean:
rm $(executables)
gtk_icon_example: gtk_icon_example.c
gcc $(includes_gtk) -o gtk_icon_example gtk_icon_example.c
trayicon: trayicon.c
gcc $(includes_gtk) -o trayicon trayicon.c
hide: hide.c
gcc $(includes_gtk) -o hide hide.c
xtypes: xtypes.c
gcc $(includes_gtk) -o xtypes xtypes.c
2012-01-01 13:51:31 -05:00
x11XGetWindowProp: x11XGetWindowProp.c
gcc -Wall x11XGetWindowProp.c -o x11XGetWindowProp -lm -lXext -lX11
window_state_event: window_state_event.c
gcc $(includes_gtk) -o window_state_event window_state_event.c
xev_desktop: xev_desktop.c
gcc -lXm -lXt -lX11 -o xev_desktop xev_desktop.c
teststatusicon: teststatusicon.c prop-editor.c
gcc $(includes_gtk) -o teststatusicon teststatusicon.c prop-editor.c
gtk-version: gtk-version.c ../src/lib/linux/firetray_x86_64-gcc4.so
gcc $(includes_gdk_gtk) ../src/lib/linux/firetray_x86_64-gcc4.so -o gtk-version gtk-version.c