1 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
3 all: osdd osdc osd-batt
6 osdc: osdc.o util.o client.o
7 osd-batt: osd-batt.o util.o client.o
9 osdd.o: CFLAGS+=$(shell xosd-config --cflags)
10 osdd: LDFLAGS+=$(shell xosd-config --libs)
13 osd-batt: LDFLAGS+=-lX11
16 rm -f *~ *.o TAGS core osdd osdc