diff options
Diffstat (limited to 'xsde/build/c/configuration-dynamic.make')
-rw-r--r-- | xsde/build/c/configuration-dynamic.make | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xsde/build/c/configuration-dynamic.make b/xsde/build/c/configuration-dynamic.make new file mode 100644 index 0000000..c86b863 --- /dev/null +++ b/xsde/build/c/configuration-dynamic.make @@ -0,0 +1,14 @@ +c_id := gnu +c_optimize := n +c_debug := n +c_rpath := n +c_pp_extra_options := $(CPPFLAGS) -I$(out_root)/../stage/include +c_extra_options := $(CFLAGS) +c_ld_extra_options := $(LDFLAGS) +c_extra_libs := $(LIBS) + +r := $(shell echo $(LDFLAGS) | sed -e 's/-L *\([^ ]*\)/-L\1/g') +r := $(patsubst -L%,%,$(filter -L%,$(r))) +r := $(shell echo $(r) | sed -e 's/ /:/g') + +c_extra_lib_paths := $(out_root)/../stage/lib $(r) |