dockapps/wmArchUp/Makefile
Panagiotis Dimopoulos 9c9d1a22b0 Add wmArchUp
2018-03-29 17:52:27 -04:00

19 lines
363 B
Makefile

CC=gcc
INSTALL=install
PREFIX=/usr/local
CFLAGS+=-Wall `pkg-config --cflags dockapp`
LIBS=`pkg-config --libs dockapp`
wmarchup: wmarchup.o
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
wmarchup.o: wmarchup.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
install:
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
$(INSTALL) wmarchup $(DESTDIR)$(PREFIX)/bin
clean:
rm -f wmarchup wmarchup.o