# Makefile for c2ps ver4.0 # Last modified: Sat Apr 19 1997 RM = rm -f BIN = $(PREFIX)/bin MAN = $(PREFIX)/man/man1 # you may predefine some of the default settings DEFAULT_FONT = \"Courier\" COMMENT_FONT = \"Helvetica-Oblique\" STRINGS_FONT = \"Courier-Oblique\" PREPROC_FONT = \"Courier-BoldOblique\" KEYWORD_FONT = \"Courier-Bold\" TYPE_FONT = \"Courier-Bold\" LNUMBER_FONT = \"Times-Roman\" FUNCTION_FONT = \"Bookman-LightItalic\" COMMENT_DIMMING_DEGREE = 0.75 #___You don't need to change anything below__________________ PREP_OPTIONS = \ -DDEFAULT=$(DEFAULT_FONT) -DCOMMENT=$(COMMENT_FONT)\ -DSTRINGS=$(STRINGS_FONT) -DPREPROC=$(PREPROC_FONT)\ -DKEYWORD=$(KEYWORD_FONT) -DTYPE=$(TYPE_FONT)\ -DLNUMBER=$(LNUMBER_FONT) -DFUNCTION=$(FUNCTION_FONT)\ -DDIM=$(COMMENT_DIMMING_DEGREE)\ -D$(DEFAULT_PAPER_TYPE) all: compile install: bininstall maninstall bininstall: c2ps $(BSD_INSTALL_PROGRAM) c2ps $(BIN) maninstall: c2ps.1 $(BSD_INSTALL_MAN) c2ps.1 $(MAN) compile: c2ps.c $(CC) $(PREP_OPTIONS) $(CCFLAGS) -o c2ps c2ps.c clean: $(RM) c2ps *.o core *~