fix a horrible memleak in ipkg (#2702)
[openwrt.git] / package / nvram / src / Makefile
1 # $Id$
2
3 LIBSHARED_OBJS := shutils.o wl.o linux_timer.o
4 LIBNVRAM_OBJS := nvram.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.056282 seconds and 5 git commands to generate.