export OCAMLMAKEFILE = OCamlMakefile define PROJ_step LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= step.ml RESULT= step endef export PROJ_step define PROJ_attach LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= attach.ml RESULT= attach endef export PROJ_attach define PROJ_ping LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= ping.ml RESULT= ping endef export PROJ_ping define PROJ_kebab LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= kebab.ml RESULT= kebab endef export PROJ_kebab define PROJ_kill LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= kill.ml RESULT= kill endef export PROJ_kill define PROJ_types LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= types.ml RESULTDEPS= ../sctl.ml ../msg.ml RESULT= types endef export PROJ_types define PROJ_nsl1 LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= nsl1.ml RESULTDEPS= ../sctl.ml ../msg.ml RESULT= nsl1 endef export PROJ_nsl1 define PROJ_ns32 LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= ns32.ml RESULTDEPS= ../sctl.ml ../msg.ml RESULT= ns32 endef export PROJ_ns32 define PROJ_sp LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= sp.ml RESULTDEPS= ../sctl.ml ../msg.ml RESULT= sp endef export PROJ_sp define PROJ_ns LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= ns.ml RESULTDEPS= ../sctl.ml ../msg.ml RESULT= ns endef export PROJ_ns define PROJ_stat LIBS= unix sctl LIBDIRS = .. INCDIRS = .. SOURCES= stat.ml RESULTDEPS= ../sctl.ml ../msg.ml RESULT= stat endef export PROJ_stat ifndef SUBPROJS export SUBPROJS= step attach ping kebab kill types nsl1 ns32 sp ns stat endif all: nc debug: dc debugnc: dnc %: @$(MAKE) -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@