tmisu

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

commit 8eb946dae0e2f98d3850d89e1bb535640e8c3266
parent d5677e6c44a774aa36b698dcdab4760f2524e013
Author: Sweets <sweets@comfi.es>
Date:   Mon,  9 Nov 2020 21:57:21 -0800

Merge pull request #22 from voidpin/master

Do not override user's CFLAGS and honor LDFLAGS
Diffstat:
MMakefile | 42+++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,21 +1,21 @@ - -TARGET = tiramisu -SRC := src/tiramisu.c src/output.c - -PREFIX ?= /usr/local - -CFLAGS = -Wall -Wno-unused-value -IFLAGS = $(shell pkg-config --cflags glib-2.0 gio-2.0) -LFLAGS = $(shell pkg-config --libs glib-2.0 gio-2.0) - -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 + +TARGET = tiramisu +SRC := src/tiramisu.c src/output.c + +PREFIX ?= /usr/local + +CFLAGS += -Wall -Wno-unused-value +IFLAGS = $(shell pkg-config --cflags glib-2.0 gio-2.0) +LFLAGS = $(shell pkg-config --libs glib-2.0 gio-2.0) + +all: $(TARGET) + +$(TARGET): $(OBJ) + $(CC) $(CFLAGS) $(IFLAGS) $(SRC) $(LFLAGS) $(LDFLAGS) -o $(TARGET) + +install: $(TARGET) + mkdir -p $(DESTDIR)$(PREFIX)/bin + install $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET) + +clean: + $(RM) ./tiramisu