add a workaround preventing libtool from hardcoding library path in shared libs
[openwrt.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
This page took 0.054086 seconds and 5 git commands to generate.