wmclockmon: update change-log
[dockapps.git] / libdockapp / examples / basic / Makefile
blobea63d6ced6ec26cb74ed8383ae656156d03ecc1a
1 CC=gcc
2 INSTALL=install
3 PREFIX=/usr/local
4 CFLAGS+=-Wall `pkg-config --cflags dockapp`
5 LIBS=`pkg-config --libs dockapp`
7 basic: basic.o
8 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
10 basic.o: basic.c
11 $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
13 install:
14 $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
15 $(INSTALL) basic $(DESTDIR)$(PREFIX)/bin
17 clean:
18 rm -f basic basic.o