#
# TARGETs
#
# tab			- build the command (default)
# install	- install the command
# clear		- delete everything that is not a source
#

USRINC = DevSys:include/
USRLIB = DevSys:lib/
USRCMD = DevSys:c/

OTAG = Tab
OBJS = tab.o tabcodec.o

#
# tab
#

$(OTAG): $(OBJS)
	sc link $(OBJS) pname $(OTAG)

tab.o: tab.c tabcodec.h

tabcodec.o: tabcodec.c tabcodec.h

#
# install
#

install:
	copy $(OTAG) $(USRCMD) clone

#
# clear
#

clear:
	delete $(OTAG) $(OBJS) *.lnk quiet
