提交 09420617 编写于 作者: M Markus Hrywniak

Makefile fixes: Library build, targets

Changed the build command for the static library to include all objects
and added .PHONY for the targets that do not create files of the same
name.
上级 175a19b9
......@@ -48,7 +48,7 @@ OBJS = $(SRCS:.c=.o)
default: libiniparser.a libiniparser.so
libiniparser.a: $(OBJS)
$(QUIET_AR)$(AR) $(ARFLAGS) $@ $<
$(QUIET_AR)$(AR) $(ARFLAGS) $@ $^
$(QUIET_RANLIB)$(RANLIB) $@
libiniparser.so: $(OBJS)
......@@ -66,5 +66,7 @@ veryclean:
docs:
@(cd doc ; $(MAKE))
check:
check: default
@(cd test ; $(MAKE))
.PHONY: default clean veryclean docs check
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册