setxbg

X11 background image
git clone https://porkepik.fr/setxbg
Log | Files | Refs | README | LICENSE

commit 2200dca15099d5afc19076078cdb2ac780ef3b04
parent 140de8e3b773f478ca5257589e41817ea64af7aa
Author: Thomas Philippe <dev@porkepik.fr>
Date:   Thu, 15 Aug 2019 13:51:58 +0200

fix makefile for better portability

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -PREFIX ?= /usr/local +PREFIX = /usr/local CFLAGS = -O2 -std=c99 -Wall -Wextra -I/usr/X11R6/include LDFLAGS = -L/usr/X11R6/lib LDLIBS = -lX11 -lm @@ -6,6 +6,7 @@ SRC = setxbg.c BIN = setxbg $(BIN): $(SRC) + $(CC) $(CFLAGS) $(SRC) -o $(BIN) $(LDFLAGS) $(LDLIBS) clean: rm -f $(BIN)