#	Makefile for CLK.EXG
# 
#	Use 'GMAKE' to make all.
#
#		[ EIN(tm) project : サンプルプログラム ]
#
#	COPYRIGHT  Nam  1994, All rights reserved.
#
#	配付・組込・改変・商利用すべて自由。ただし無保証っす
#
#	※再構成にはHigh-C CompilerV1.7L12, 拡張ライブラリI&II(V2.1L31)
#	  及びeintm.lib(V0.1L30以上)が必要です。


# Name of extender.

EXT = d:\run386 -nocrt

# Name of asembler.

ASM = f:\hc\bin\386asm

# Name of C-compiler.

CC = f:\hc\bin\hcd386p
#CC = h:\hc\bin\hcd386

# Name of linker.

LINK = f:\hc\bin\386linkp

# Add flags for compiler.

#CFLAGS = -def DEBUG
#CFLAGS = -tpages 64 -tmptp g:tree000\#.tmp -tmpi1 g:hctmp1.tmp -tmpi2 g:hctmp2.tmp
CFLAGS = 

# drive to copy

DRV = d:\exg


# 'OBJS' - Names of all objects for execute file.
# 
# You can add object name, when you create new source file.


FUNCS = main.obj

DIALOGS = 

RESOURCES = res_icon.obj res_iwin.obj res_env.obj res_abut.obj icon.obj

ASMSOURCES = 


OBJS = $(FUNCS) $(RESOURCES)


.asm.obj :
	$(ASM) $< -twocase

.c.obj :
	$(EXT) $(CC) $< $(CFLAGS)
MEMOR.exg : $(OBJS) link.lnk ..\ein\eintm.lib
	$(EXT) $(LINK) @link
#	zcopy CLK.exg $(DRV) /v

clean:
	del *.bak
	del *.obj
	del *.map
	del *.exg
