projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow merge-import, even if the config file does not exist yet
[project/uci.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
989f890
..
db690e7
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-27,6
+27,8
@@
else
endif
SHLIB_FILE=libuci.$(SHLIB_EXT).$(VERSION)
endif
SHLIB_FILE=libuci.$(SHLIB_EXT).$(VERSION)
+LIBUCI_DEPS=file.c history.c list.c util.c err.h uci.h
+
all: uci-static uci libuci.$(SHLIB_EXT)
cli.o: cli.c uci.h
all: uci-static uci libuci.$(SHLIB_EXT)
cli.o: cli.c uci.h
@@
-37,10
+39,10
@@
uci: cli.o libuci.$(SHLIB_EXT)
uci-static: cli.o libuci.a
$(CC) $(CFLAGS) -o $@ $^
uci-static: cli.o libuci.a
$(CC) $(CFLAGS) -o $@ $^
-libuci-static.o: libuci.c
file.c uci.h list.c err.h util.c
+libuci-static.o: libuci.c
$(LIBUCI_DEPS)
$(CC) $(CFLAGS) -c -o $@ $<
$(CC) $(CFLAGS) -c -o $@ $<
-libuci-shared.o: libuci.c
file.c uci.h list.c err.h util.c
+libuci-shared.o: libuci.c
$(LIBUCI_DEPS)
$(CC) $(CFLAGS) $(FPIC) -c -o $@ $<
libuci.a: libuci-static.o
$(CC) $(CFLAGS) $(FPIC) -c -o $@ $<
libuci.a: libuci-static.o