##  An effective way to build instantiated components from C code
##  RTLIBDIR is permanant at present, need to add a job to make it later

HALUSERICOMPDIR= hal/user_icomps

HALUSERICOMP_SUBMAKEFILE= $(HALUSERICOMPDIR)/Submakefile

obj-m += watch.o
# the list of parts
watch-objs := $(HALUSERICOMPDIR)/watch.o

$(RTLIBDIR)/watch$(MODULE_EXT): $(addprefix $(OBJDIR)/,$(watch-objs))