get rid of $Id$ - it has never helped us and it has broken too many patches ;)
[openwrt/staging/yousong.git] / package / nvram / src / Makefile
1
2 LIBNVRAM_OBJS := nvram.o
3
4 all: libnvram.so nvram
5
6 %.o: %.c
7 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^
8
9 libnvram.so: $(LIBNVRAM_OBJS)
10 $(CC) -shared -o $@ $^
11
12 nvram: main.o
13 $(CC) -o $@ $^ -L. -lnvram
14
15 clean:
16 rm -f *.o *.so nvram