wmail: debug macro fixes.
[dockapps.git] / wmArchUp / Makefile
blob818fa3c92529b8dccc9e97d0b8a7d20cdd02e70d
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`
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