projects
/
openwrt-10.03
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
upgrade to broadcom-wl 4.150.10.5.2
[openwrt-10.03/.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