blob: 17788dd3d8eec8464aea342025c86c9c6ea23e12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
c_id := generic
c_pp_extra_options := $(CPPFLAGS)
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 := $(r)
|