# This is GNU Make command file
# You need Hitech-C compiler and GNU sh-utils

export SCRIPTS = $(shell pwd)
export DESTDIR = $(shell pwd)

export INC = -I$(DESTDIR)

include ./config

x = -Bl -A1000h,8000h,4000h -ROMDATA
test:
	@echo $(srcdir)
#	echo "$(call ld, -h ; -z)"
#	echo "$(call A_top, -A0x10$(comma)2$(comma)3 )"
	@echo "$(call cc, -CPM a.c )"
#	$(call cc, -Dx=y a.c)

all install clean clean-all uninstall::
	cd math; $(MAKE) $@; cd ..
	cd string; $(MAKE) $@; cd ..
	cd console; $(MAKE) $@; cd ..
	cd consio; $(MAKE) $@; cd ..
