X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..c1ae60e7df285725b5ba0b8050c58ec8bc664408:/package/nvram/src/Makefile?ds=sidebyside diff --git a/package/nvram/src/Makefile b/package/nvram/src/Makefile index 3d98209e8..e882d58ea 100644 --- a/package/nvram/src/Makefile +++ b/package/nvram/src/Makefile @@ -1,16 +1,12 @@ # $Id$ -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) -c -I. -Iinclude -o $@ $^ -libshared.so: $(LIBSHARED_OBJS) - $(CC) -shared -o $@ $^ - libnvram.so: $(LIBNVRAM_OBJS) $(CC) -shared -o $@ $^