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