#//////////////////////////////////////////////////////////////////////////
# 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
#
# Filename:	Makefile
# Purpose:	Builds the various utility functions used to massage
#		ispell wordlists and other wordlists into the single-word-
#		per-line format (with diacritical marks) needed by 
#		GutenMark.
# Mods:		11/09/01 RSB	Began.
#		11/17/01 RSB	Added "clean" and "all" targets.
#//////////////////////////////////////////////////////////////////////////

BINS=espa~nol_filter hk2_deutsch names_english words197 string2line \
 gztest norsk utf8
 

default: $(BINS)

clean:
	-rm $(BINS)

all:	clean default

espa~nol_filter:	espa~nol_filter.c
	gcc -g -Wall -o $@ $^
	
hk2_deutsch:	hk2_deutsch.c
	gcc -g -Wall -o $@ $^
	
names_english:	names_english.c
	gcc -g -Wall -o $@ $^
	
words197:	words197.c
	gcc -g -Wall -o $@ $^
	
string2line:	string2line.c
	gcc -g -Wall -o $@ $^
	
gztest:	gztest.c
	gcc -g -Wall -o $@ $^ -lz
	
norsk:	norsk.c
	gcc -g -Wall -o $@ $^
	
utf8:	utf8.c
	gcc -g -Wall -o $@ $^
	
	
