#	Makefile for EIN(tm) Library
# 
#	Use 'GMAKE' to make all.
#
#		[ EIN(tm) project : eintm.lib makefile ]
#
#	COPYRIGHT  Nam  1994, All rights reserved.
#
#	配付・組込・改変・商利用すべて自由。ただし無保証っす
#
#	※再構成にはHigh-C CompilerV1.7L12, 拡張ライブラリI&II(V2.1L31)が必要です


# Name of extender.

EXT = d:\run386 -nocrt

# Name of asembler.

ASM = f:\hc\bin\386asm

# Name of C-compiler.

CC = f:\hc\bin\hcd386p

# Name of linker.

LINK = f:\hc\bin\386linkp

# Add flags for compiler.

#CFLAGS = -define EINLIB -tpages 64 -tmptp g:tree000\#.tmp -tmpi1 g:hctmp1.tmp -tmpi2 g:hctmp2.tmp
CFLAGS = -def EINLIB

# 'OBJS' - Names of all objects for execute file.
# 
# You can add object name, when you create new source file.


OBJS =	ein_rsm.obj \
		ein_pal.obj ein_mem.obj\
		ein_clp1.obj ein_clp2.obj \
		ein_fl01.obj ein_fl02.obj ein_fl03.obj \
		ein_fl04.obj ein_fl05.obj ein_fl06.obj \
		ein_fs01.obj ein_fs02.obj ein_fs03.obj \
		ein_fs04.obj ein_fs05.obj ein_fs06.obj \
		ein_asm1.obj ein_asm2.obj


.asm.obj :
	$(ASM) $< -twocase

.c.obj :
	$(EXT) $(CC) $< $(CFLAGS)

all : $(OBJS) ..\eintm.h eintm.lbc
	386lib @eintm

clean:
	del *.~
	del *.?~
	del *.??~
	del *.obj
	del *.lst
	del *.map
