1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 06:46:47 +02:00
openwrt-xburst/package/nvram/src/Makefile

18 lines
254 B
Makefile
Raw Normal View History

# $Id$
LIBNVRAM_OBJS := nvram.o
all: libnvram.so nvram
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^
libnvram.so: $(LIBNVRAM_OBJS)
$(CC) -shared -o $@ $^
nvram: main.o
$(CC) -o $@ $^ -L. -lnvram
clean:
rm -f *.o *.so nvram