
default:
	make -f demoexe.Makefile

clean:
	make -f demoexe.Makefile clean

setup:
	make -f demoexe.Makefile setup

# do: export t=newtarget make newtarget
$t:
	make -f demoexe.Makefile $t

demoexe_INTREE = one two three
demoexe_DLLS_PATH = ${demoexe_INTREE:%=../%}
demoexe_INTREE_LIBS = $(join ${demoexe_DLLS_PATH:%=%/},${demoexe_INTREE:%=%.dll.so} )
foo_INTREE_LIBS =  $(demoexe_INTREE_LIBS) $(using_INTREE_LIBS)

foo_DEFS = $(join ${demoexe_DLLS_PATH:%=%/lib},${demoexe_INTREE:%=%.def} )

test:
	@echo ${demoexe_INTREE}
	@echo ${demoexe_DLLS_PATH}
	@echo ${demoexe_INTREE_LIBS}
	@echo ${foo_DEFS}
