X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/102ad2157b31642e029c8c176de1cc5b22c96599..0715d705de70a961453a20f6eb923447438c35f1:/package/nvram/src/Makefile diff --git a/package/nvram/src/Makefile b/package/nvram/src/Makefile index 376c2b7de..e882d58ea 100644 --- a/package/nvram/src/Makefile +++ b/package/nvram/src/Makefile @@ -1,16 +1,11 @@ # $Id$ -EXTRA_CFLAGS := -c -I. -I../include -LIBSHARED_OBJS := shutils.o wl.o wl_linux.o defaults.o linux_timer.o -LIBNVRAM_OBJS := nvram_linux.o nvram_convert.o +LIBNVRAM_OBJS := nvram.o -all: libshared.so libnvram.so nvram +all: libnvram.so nvram %.o: %.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ - -libshared.so: $(LIBSHARED_OBJS) - $(CC) -shared -o $@ $^ + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^ libnvram.so: $(LIBNVRAM_OBJS) $(CC) -shared -o $@ $^