/* Set the default PRIMARY_TARGET (WEPS) directory structure here */ PRIMARY_TARGET = tsterode; /* Primary target of build */ #ifndef TARGET_BIN TARGET_BIN = bin; /* Primary target default "bin" (relative) path/name */ #endif #ifndef TARGET_INC TARGET_INC = inc; /* Primary target default include (relative) path */ #endif BIN = [TARGET_BIN]; INC = [TARGET_INC]; /* Note: No suffixes in dir names are currently allowed, ie: (dir1.src and dir2/dir1.abc not allowed) Note: Directory names currently must be unique, ie: (both dir1 and dir2/dir1 not allowed) */ /* list tsterode and pertinent WEPS submodel src directories */ src_dirs = testmain ../../erosion ../../util/math; /* list possible dirs with include files beside [src_dirs] */ inc_dirs = [INC] [addprefix [INC]/ [src_dirs]] ../../util; #include "cookbook/compiler.weps" /* determine host/compiler */ #include "cookbook/cook.weps" #include "cookbook/recipes.weps" /* determines the correct recipe file */ #include "cookbook/recipes.dep" /* recipes for dependency files */ #include "cookbook/target.weps" show: { echo "src_dirs: " [src_dirs]; echo "inc_dirs: " [inc_dirs]; echo "manifest: " [manifest]; echo "src_files: " [src_files]; echo "inc_files: " [inc_files]; echo "obj_files: " [obj_files]; echo "dep_files: " [dep_files]; }