1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 15:26:46 +02:00
openwrt-xburst/package/nvram/src/Makefile
nbd b5faddf0c3 remove lots of useless junk from the nvram package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 14:46:37 +00:00

22 lines
371 B
Makefile

# $Id$
LIBSHARED_OBJS := shutils.o wl.o linux_timer.o
LIBNVRAM_OBJS := nvram.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