tmisu

Notification to stdout daemon
git clone https://git.inz.fi/tmisu/
Log | Files | Refs | README | LICENSE

commit fd98cdc3e1879855229830f9e4994de4a162fdd8
parent 44e906556235880f8a2e4183c5ddcdbd4476fe85
Author: bit6tream <43259894+bit9tream@users.noreply.github.com>
Date:   Thu,  2 Jul 2020 02:47:25 +0300

add 'install' taget to Makefile
Diffstat:
MMakefile | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -2,6 +2,8 @@ TARGET = tiramisu SRC := tiramisu.c callbacks.c format.c +PREFIX ?= /usr/local + CFLAGS = -Wall IFLAGS = $(shell pkg-config --cflags glib-2.0 gio-2.0) LFLAGS = $(shell pkg-config --libs glib-2.0 gio-2.0) @@ -11,5 +13,9 @@ all: $(TARGET) $(TARGET): $(OBJ) $(CC) $(CFLAGS) $(IFLAGS) $(SRC) $(LFLAGS) -o $(TARGET) +install: $(TARGET) + mkdir -p $(DESTDIR)$(PREFIX)/bin + install $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET) + clean: $(RM) ./tiramisu