libnl-tiny: fix compile error with eglibc (#8782)
[openwrt.git] / package / libnl-tiny / src / Makefile
1 CC=gcc
2 WFLAGS=-Wall
3 CFLAGS=-O2
4 INCLUDES=-Iinclude
5
6 LIBNAME=libnl-tiny.so
7
8 all: $(LIBNAME)
9
10 %.o: %.c
11 $(CC) $(WFLAGS) -c -o $@ $(INCLUDES) $(CFLAGS) $<
12
13 LIBNL_OBJ=nl.o handlers.o msg.o attr.o cache.o cache_mngt.o object.o socket.o error.o
14 GENL_OBJ=genl.o genl_family.o genl_ctrl.o genl_mngt.o unl.o
15
16 $(LIBNAME): $(LIBNL_OBJ) $(GENL_OBJ)
17 $(CC) -shared -o $@ $^
This page took 0.040289 seconds and 5 git commands to generate.