dockapps/wmArchUp/Makefile
Panagiotis Dimopoulos d56480c377 Fix bugs.
2018-04-05 10:47:56 -04:00

20 lines
426 B
Makefile

CC=gcc
INSTALL=install
PREFIX=/usr/local
CFLAGS+=-Wall -Wextra -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