diff options
author | jaseg <git@jaseg.de> | 2022-11-19 14:24:04 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-11-19 14:24:04 +0100 |
commit | 8ed4ce20a56123e0dfb0b0e1039c9a733fec3b5f (patch) | |
tree | 335f1ff7ace350cc66f1ab89acc661b68011fde8 /Makefile | |
parent | 6db5a0fa5005710ff1a71a721b3d625e61c37e78 (diff) | |
download | lolcat-8ed4ce20a56123e0dfb0b0e1039c9a733fec3b5f.tar.gz lolcat-8ed4ce20a56123e0dfb0b0e1039c9a733fec3b5f.tar.bz2 lolcat-8ed4ce20a56123e0dfb0b0e1039c9a733fec3b5f.zip |
Add --gradient option, allow specification of custom gradients.
Closes #47
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,7 +1,5 @@ CC ?= gcc -LOLCAT_SRC ?= lolcat.c -CENSOR_SRC ?= censor.c CFLAGS ?= -std=c11 -Wall -Wextra -O3 -Wno-sign-compare LIBS := -lm @@ -14,11 +12,14 @@ debug: all .PHONY: install clean debug -lolcat: $(LOLCAT_SRC) - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) +xterm256lut.h: xterm256lut_gen.py + python $< > $@ -censor: $(CENSOR_SRC) - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) +lolcat: lolcat.c xterm256lut.h + $(CC) $(CFLAGS) -o $@ $< $(LIBS) + +censor: censor.c + $(CC) $(CFLAGS) -o $@ $< $(LIBS) install: lolcat censor install lolcat $(DESTDIR)/lolcat |