1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 14:59:42 +02:00
openwrt-xburst/package/nvram/src/Makefile
nbd 29c37a4647 upgrade to broadcom-wl 4.150.10.5.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 00:24:19 +00:00

18 lines
254 B
Makefile

# $Id$
LIBNVRAM_OBJS := nvram.o
all: libnvram.so nvram
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^
libnvram.so: $(LIBNVRAM_OBJS)
$(CC) -shared -o $@ $^
nvram: main.o
$(CC) -o $@ $^ -L. -lnvram
clean:
rm -f *.o *.so nvram