1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 14:50:38 +02:00
openwrt-xburst/package/libnl-tiny/src/Makefile
nbd 6996526755 libnl-tiny: add unl a convenience wrapper around the libnl api
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-31 19:57:28 +00:00

18 lines
360 B
Makefile

CC=gcc
WFLAGS=-Wall
CFLAGS=-O2
INCLUDES=-Iinclude
LIBNAME=libnl-tiny.so
all: $(LIBNAME)
%.o: %.c
$(CC) $(WFLAGS) -c -o $@ $(INCLUDES) $(CFLAGS) $<
LIBNL_OBJ=nl.o handlers.o msg.o attr.o cache.o cache_mngt.o object.o socket.o error.o
GENL_OBJ=genl.o genl_family.o genl_ctrl.o genl_mngt.o unl.o
$(LIBNAME): $(LIBNL_OBJ) $(GENL_OBJ)
$(CC) -shared -o $@ $^