summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files 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