#
# Codepage makefile
# Copyright (C) 1993 by Kosta Kostis - this is freeware!
#
# 19-DEC-1993: KK V1.01
#     - new filename convention
# 15-OCT-1993: KK V1.00
#     - initial coding (template)

CODEPAGE=819
INVARIANT=cpe.inc fdh.inc sfh.i16 sfh.i14 sfh.i08
DEPENDANT=cp$(CODEPAGE).i08 cp$(CODEPAGE).i14 cp$(CODEPAGE).i16

all:            cp$(CODEPAGE).cp

cp$(CODEPAGE).cp:       cp$(CODEPAGE).exe
	exe2bin cp$(CODEPAGE).exe cp$(CODEPAGE).cp

cp$(CODEPAGE).exe:      cp$(CODEPAGE).obj
	tlink cp$(CODEPAGE).obj

cp$(CODEPAGE).obj:       cp$(CODEPAGE).asm $(DEPENDANT) $(INVARIANT)
	tasm cp$(CODEPAGE).asm;
