From c1dfd0bb139f58a9f34dbfc61920b59df00c70c1 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 13 Jul 2020 18:14:22 -0400 Subject: Incorporate CSS into C without file2c It's a shame file2c is not available everywhere. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cd9f014..1cb3bf4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PREFIX ?= ~/.local MANDIR ?= ${PREFIX}/share/man -CFLAGS += -std=c11 -Wall -Wextra -Wpedantic +CFLAGS += -std=c11 -Wall -Wextra -Wpedantic -Wno-overlength-strings LDLIBS = -lkcgi -lkcgihtml -lsqlite3 TEST_DB = ~/.local/share/litterbox/litterbox.sqlite @@ -24,10 +24,10 @@ scooper: ${OBJS} ${OBJS}: server.h -server.o: default.css.h +server.o: css.h -default.css.h: default.css color.css - cat default.css color.css | file2c > $@ +css.h: css.sh default.css color.css + sh css.sh default.css color.css > $@ test: .test @@ -39,7 +39,7 @@ tags: *.c *.h ctags -w *.c *.h clean: - rm -f scooper ${OBJS} .test tags + rm -f scooper ${OBJS} css.h .test tags install: scooper scooper.1 install -d ${PREFIX}/bin ${MANDIR}/man1 -- cgit 1.4.1