all: memo.fx

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