1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00
phorge-phorge/externals/figlet/Makefile.tc
epriestley 935ced1edd Include "Figlet" and PEAR "Text_Figlet" in externals
Summary:
Ref T7785. This prepares for (but does not yet use) a pure PHP implementation of Figlet parsing and rendering.

Figlet is somewhat complex, but a parser already exists in PEAR. I'll make sure it's suitable and hook it up in the next diff.

Test Plan: N/A, code not reachable

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9408, T7785

Differential Revision: https://secure.phabricator.com/D14101
2015-09-13 12:30:48 -07:00

42 lines
1.2 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Turbo C makefile for figlet
# adapted from Makefile for figlet version 2.3.0 (11 Jan 2011)
# adapted from Makefile for figlet version 2.2.2 (05 July 2005)
# adapted from Makefile for figlet version 2.2 (15 Oct 1996)
# Copyright 1993, 1994,1995 Glenn Chappell and Ian Chai
# Copyright 1996, 1997, 1998, 1999, 2000, 2001 John Cowan
# Copyright 2002 Christiaan Keet
# Copyright 2011 Claudio Matsuoka
# The C compiler and linker to use
CC = tcc
CFLAGS = -mc -I\tc\include
LD = tcc
LDFLAGS = -mc -L\tc\lib
# Use this definition if you can't put things in /usr/local/share/figlet
DEFAULTFONTDIR = fonts
# The filename of the font to be used if no other is specified
# (standard.flf is recommended, but any other can be used).
# This font file should reside in the directory specified by
# DEFAULTFONTDIR.
DEFAULTFONTFILE = standard.flf
##
## END OF CONFIGURATION SECTION
##
OBJS = figlet.obj zipio.obj crc.obj inflate.obj getopt.obj
BINS = figlet.exe chkfont.exe
.c.obj:
$(CC) -c $(CFLAGS) -DDEFAULTFONTDIR="$(DEFAULTFONTDIR)" \
-DDEFAULTFONTFILE="$(DEFAULTFONTFILE)" -o$*.obj $<
all: $(BINS)
figlet.exe: $(OBJS)
$(LD) $(LDFLAGS) -o$@ $(OBJS)
chkfont.exe: chkfont.obj
$(LD) $(LDFLAGS) -o$@ chkfont.obj