From 621b604edd146343c5d43fe5d889287edb4531a5 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 16 Jul 2024 11:39:09 +0200 Subject: Add CPPFLAGS and LDFLAGS to compiler invocation Fixes #57 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9ce889d..c89fcf8 100644 --- a/Makefile +++ b/Makefile @@ -16,10 +16,10 @@ xterm256lut.h: xterm256lut_gen.py python $< > $@ lolcat: lolcat.c xterm256lut.h - $(CC) $(CFLAGS) -o $@ $< $(LIBS) + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) censor: censor.c - $(CC) $(CFLAGS) -o $@ $< $(LIBS) + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) install: lolcat censor install lolcat $(DESTDIR)/lolcat -- cgit