dockapps/wmArchUp/Makefile

20 lines
426 B
Makefile
Raw Permalink Normal View History

2018-03-29 13:22:34 +00:00
CC=gcc
INSTALL=install
PREFIX=/usr/local
2018-04-05 09:46:04 +00:00
CFLAGS+=-Wall -Wextra -O3 `pkg-config --cflags dockapp`
2018-03-29 13:22:34 +00:00
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
2018-04-02 11:34:00 +00:00
$(INSTALL) arch_update.sh $(DESTDIR)$(PREFIX)/bin
2018-03-29 13:22:34 +00:00
clean:
rm -f wmarchup wmarchup.o