#
# Codepage makefile
#
# Copyright (C) 1993-1996 by kostis@acm.org (Kosta Kostis)
# This program may be used free of charge at your own risk.
#
# 1996-08-25: KK V1.20
#     - internal cosmetic changes
# 1993-12-19: KK V1.01
#     - new filename convention
# 1993-10-15: 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;
