spleen

Monospaced bitmap fonts for consoles, terminals, and code editors
Log | Files | Refs | README | LICENSE

commit 30bba80d5f09c95594e055beef9105023905fbbd
parent b46d986e7de8a811788bf4d9ebe83ae6df60644e
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed,  6 Feb 2019 15:56:48 +0100

Various tweaks and improvements in the Makefile.

Diffstat:
MMakefile | 23++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile @@ -4,26 +4,27 @@ # https://www.cambus.net/ # # Created: 2019-01-29 -# Last Updated: 2019-02-05 +# Last Updated: 2019-02-06 # # Spleen is released under the BSD 2-Clause license. # See LICENSE file for details. # -BDFTOPCF ?= bdftopcf -BDF2PSF ?= bdf2psf -UFOND ?= ufond +BDFTOPCF ?= bdftopcf +BDF2PSF ?= bdf2psf +UFOND ?= ufond -DATADIR ?= /usr/share/bdf2psf +PREFIX ?= /usr/local +DATADIR ?= $(PREFIX)/share/bdf2psf -EQUIVALENT = $(DATADIR)/standard.equivalents -FONTSET = $(DATADIR)/fontsets/Uni1.512 +EQUIVALENT = $(DATADIR)/standard.equivalents +FONTSET = $(DATADIR)/fontsets/Uni1.512 -OPTIONS = $(EQUIVALENT) $(FONTSET) 512 +OPTIONS = $(EQUIVALENT) $(FONTSET) 512 -TARGET = all +TARGET = all -all: pcf +all: pcf psf dfont pcf: $(BDFTOPCF) -t -o spleen-5x8.pcf spleen-5x8.bdf @@ -32,7 +33,7 @@ pcf: $(BDFTOPCF) -t -o spleen-16x32.pcf spleen-16x32.bdf $(BDFTOPCF) -t -o spleen-32x64.pcf spleen-32x64.bdf -psfu: +psf: $(BDF2PSF) --fb spleen-5x8.bdf $(OPTIONS) spleen-5x8.psfu $(BDF2PSF) --fb spleen-8x16.bdf $(OPTIONS) spleen-8x16.psfu $(BDF2PSF) --fb spleen-12x24.bdf $(OPTIONS) spleen-12x24.psfu