1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-07 01:48:27 +02:00
openwrt-xburst/package/nvram/src/Makefile
nbd 7f1c10e0d8 add broadcom include files, fix build
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-01 01:17:20 +00:00

22 lines
415 B
Makefile

# $Id$
LIBSHARED_OBJS := shutils.o wl.o wl_linux.o defaults.o linux_timer.o
LIBNVRAM_OBJS := nvram_linux.o nvram_convert.o
all: libshared.so libnvram.so nvram
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^
libshared.so: $(LIBSHARED_OBJS)
$(CC) -shared -o $@ $^
libnvram.so: $(LIBNVRAM_OBJS)
$(CC) -shared -o $@ $^
nvram: main.o
$(CC) -o $@ $^ -L. -lnvram
clean:
rm -f *.o *.so nvram