Build brcm47xx against 2.6.25.1
[openwrt.git] / package / nvram / src / Makefile
1 # $Id$
2
3 LIBNVRAM_OBJS := nvram.o
4
5 all: libnvram.so nvram
6
7 %.o: %.c
8 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^
9
10 libnvram.so: $(LIBNVRAM_OBJS)
11 $(CC) -shared -o $@ $^
12
13 nvram: main.o
14 $(CC) -o $@ $^ -L. -lnvram
15
16 clean:
17 rm -f *.o *.so nvram
This page took 0.043445 seconds and 5 git commands to generate.