#//////////////////////////////////////////////////////////////////////////
#
# Filename:	Makefile
# Purpose:	This is the makefile for GutenMark.
# Mods:		09/01/01 RSB	Began.
#		09/03/01 RSB	Added AutoMarkWin
#		11/02/01 RSB	Name changed from AutoMark to 
#				GutenMark, and GPL status clarified.
#				gcc-compilation produces two 
#				identical files, GutenMark and 
#				GutenMark.exe.  This is a courtesy
#				thing for compiling with mingw32
#				in Win32.
#
#  Copyright 2001 Ronald S. Burkey
#
#  This file is part of GutenMark.
#
#  GutenMark is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  GutenMark is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with GutenMark; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#//////////////////////////////////////////////////////////////////////////

default:	GutenMark

clean:		wipe GutenMark

# This doesn't work in Win32, and requires GNU make.
wipe:
		-rm GutenMark

# Use this for compiling with gcc.  Use only with GNU's make program.
GutenMark:	\
		AutoMark.c \
		CheckGutenbergHeader.c \
		Markup.c \
		MarkBody.c \
		LineAnalysisPass.c
		cc -g -o GutenMark $^

# Use this for compiling with mingw32 in Win32. Use only with GNU make.
GutenMark.exe:	\
		AutoMark.c \
		CheckGutenbergHeader.c \
		Markup.c \
		MarkBody.c \
		LineAnalysisPass.c
		gcc -g -o GutenMark.exe $^

# Use this for compiling with Borland C++ free compiler.
Borland:
		bcc32 -eGutenMark.exe \
		AutoMark.c \
		CheckGutenbergHeader.c \
		Markup.c \
		MarkBody.c \
		LineAnalysisPass.c

		



