dockapps/wmArchUp/Makefile
Panagiotis Dimopoulos aba739e980 Update to version 1.1
2018-04-03 17:36:22 -04:00

20 lines
418 B
Makefile

CC=gcc
INSTALL=install
PREFIX=/usr/local
CFLAGS+=-Wall -O3 `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
$(INSTALL) arch_update.sh $(DESTDIR)$(PREFIX)/bin
clean:
rm -f wmarchup wmarchup.o