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