all: editor.fx

editor.fx: editor.cf editor.bin icon.fr
	mkfent16 editor.cf
editor.bin: editor.obj display.obj text.obj key.obj
	lcc86 -o editor.bin editor.obj display.obj text.obj key.obj
editor.obj: editor.c editor.h display.h text.h key.h
	lcc86 -c editor.c
display.obj: display.c display.h
	lcc86 -c display.c
text.obj: text.c text.h
	lcc86 -c text.c
key.obj: key.c key.h
	lcc86 -c key.c
icon.fr: icon.bmp
	bmpcnv16 icon.bmp
