Amxb_Ubus  3.3.1
Ambiorix Ubus API
makefile
Go to the documentation of this file.
1 include ../test_defines.mk
2 
3 TEST_SO = ../mod-amxb-test-ubus.so
4 
5 TARGET = run_test
6 SO_SOURCE = $(SOURCES)
7 SO_OBJECTS = $(addprefix $(OBJDIR)/,$(notdir $(SO_SOURCES:.c=.o)))
8 SOURCES += $(wildcard ./*.c)
9 OBJECTS = $(addprefix $(OBJDIR)/,$(notdir $(SOURCES:.c=.o)))
10 
11 include ../test_targets.mk
12 
13 $(TEST_SO): $(SO_OBJECTS)
14  $(CC) -Wl,-soname,$(TARGET)-$(VMAJOR).so -o $@ $(OBJECTS) $(LDFLAGS) -shared -fPIC