blob: c86b863d49aa54330a25f95c7768c1b70a7e9df7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
|