#    Text maid for Windows
#    copyright (c) 1998-2001 Iwamoto,Kazuki http://www.maid.org/ iwm@maid.org
#
#    This program 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.
#
#    This program 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 this program; if not, write to the Free Software
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#
#@@@Text maid for Windows
#@@@copyright (c) 1998-2001N { http://www.maid.org/ iwm@maid.org
#
#@@@{vO̓t[E\tgEFAłBȂ́AFree Software
#@@@Foundation \GNU ʌLgṕuo[WQv
#@@@͂ȍ~̊eo[W̒炢ꂩIÃo[W
#@@@߂ɏ]Ė{vOĔЕz܂͕ύX邱Ƃł
#@@@܂B
#
#@@@{vO͗LpƂ͎v܂AЕzɂẮAsꐫyѓ
#@@@ړIKɂĂ̈Öق̕ۏ؂܂߂āAȂۏ؂sȂ
#@@@BڍׂɂĂGNU ʌLgpǂ݂B
#
#@@@Ȃ́A{vOƈꏏGNU ʌLgp̎ʂ󂯎
#@@@Ă͂łBłȂꍇ́AFree Software Foundation, Inc.,
#@@@675 Mass Ave, Cambridge, MA 02139, USA * ֎莆ĂB
#
#	----------------------------------------------------------------------
#	* yӁz ݁Ão[W2̔s(FSF)ŹAɐV
#	 Z 59 Temple Place - Suite 330, Boston, MA 02111-1307, 
#	 USA ɕςĂB
#	----------------------------------------------------------------------

#99/11/09 {
#@j[̃rbg}bv\p~B_CAO̕ύXу\[X̑SʓIȌ
#ƃCZX̕ύXB
#99/11/10 {
#@license𗘗p悤ɕύXB
#00/01/19 {
#@ꉻ̂߂ɕ̎st@C悤ɕύXB
#00/01/23 {
#@dialog𗘗p悤ɕύXB
#00/06/15 {
#@maidstub.exe𗘗p悤ɕύXB
#00/07/26 {
#@memapi𗘗p悤ɕύXB
#02/01/05 {
#@ׂẴt@C𓯂tH_ɈړB


EXEBUILD=/c /DWIN32 /DNDEBUG /D_WINDOWS /D_MBCS /DWINVER=0x0400 /Fo$@ /Fp$*.pch /MT /O1 /QI0f /QIfdiv /YX
EXELINK=advapi32.lib comctl32.lib comdlg32.lib gdi32.lib htmlhelp.lib ole32.lib shell32.lib user32.lib /INCREMENTAL:NO /MACHINE:I386 /STUB:maidstub.exe /SUBSYSTEM:WINDOWS $**


###############################################################################
#                                                                             #
# Text maid                                                                   #
#                                                                             #
###############################################################################
tmaid.exe: $*.obj $*.res argument.obj dialog.obj fndir.obj history.obj imectrl.obj license.obj memapi.obj other.obj valstr.obj
	link $(EXELINK)

tmaid.obj: $*.c resource.h
	cl $(EXEBUILD) $*.c

tmaid.res: $*.rc $*.ico resource.h copying.txt copyingj.txt
	rc /dLANG_JA $*.rc


###############################################################################
#                                                                             #
# ʃ\[Xt@C                                                          #
#                                                                             #
###############################################################################
argument.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c

dialog.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c

fndir.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c

history.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c

imectrl.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c

license.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c

memapi.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c

other.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c

valstr.obj: $*.c $*.h
	cl $(EXEBUILD) $*.c
