add netconfig fix for wl-500g premium
[openwrt.git] / package / nvram / src / Makefile
1 # $Id$
2
3 LIBSHARED_OBJS := shutils.o wl.o wl_linux.o defaults.o linux_timer.o
4 LIBNVRAM_OBJS := nvram_linux.o nvram_convert.o
5
6 all: libshared.so libnvram.so nvram
7
8 %.o: %.c
9 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^
10
11 libshared.so: $(LIBSHARED_OBJS)
12 $(CC) -shared -o $@ $^
13
14 libnvram.so: $(LIBNVRAM_OBJS)
15 $(CC) -shared -o $@ $^
16
17 nvram: main.o
18 $(CC) -o $@ $^ -L. -lnvram
19
20 clean:
21 rm -f *.o *.so nvram
This page took 0.044313 seconds and 5 git commands to generate.