Changeset 5994
- Timestamp:
- 04/01/10 16:57:53 (3 years ago)
- Files:
-
- 1 modified
-
luci2/libubox/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
luci2/libubox/Makefile
r5842 r5994 3 3 CFLAGS+=-I./include --std=gnu99 -Wall -Werror -pedantic -fno-strict-aliasing -fpic 4 4 LDFLAGS?= 5 BINARY=libubox.so6 BINARY=libuloop.so7 5 8 all: $(BINARY)6 all: libubox.so libuloop.so 9 7 10 8 libubox.so: ucix.c blob.c hash.c uhtbl.c ulog.c 11 $(CC) $(CFLAGS) - g -o $@ -shared -Wl,-soname,libubox.so $^ -luci9 $(CC) $(CFLAGS) -o $@ -shared -Wl,-soname,libubox.so $^ -luci 12 10 13 11 libuloop.so: uloop.c 14 $(CC) $(CFLAGS) - g -o $@ -shared -Wl,-soname,libuloop.so $^ -lubus -I../ubus/ -I./12 $(CC) $(CFLAGS) -o $@ -shared -Wl,-soname,libuloop.so $^ -lubus -I../ubus/ -I./ 15 13 16 14 clean: 17 rm -f $(BINARY)*.o15 rm -f *.so *.o 18 16 19 %.o: $(wildcard *.h)20 %.o: %.c21 $(CC) $(CFLAGS) -c -o $@ $^
