.PHONY: all clean

CFLAGS=$(shell pkg-config gtk+-x11-2.0 --cflags) -DGTK_NO_CHECK_CASTS -DG_DISABLE_CAST_CHECKS \
        -Wall -Wno-char-subscripts \
        -Os -fmerge-all-constants \
        -Wl,-O2,--gc-sections,--as-needed,--sort-common,-s
LDFLAGS=$(shell pkg-config gtk+-x11-2.0 --libs) -lX11 -Wl,-O2,--gc-sections,--as-needed,--sort-common,-s

all: mb-systray

mb-systray: mb-systray.o im-protocol.o

mb_systray.o: mb_systray.c 

im-protocol.o: im-protocol.c 

clean:
	rm -f *.o mb-systray
