Avoid application relink on every make invocation.

This commit is contained in:
Andy Polyakov 2006-10-20 11:23:35 +00:00
parent 3634d7e97a
commit 1e7b6c029c
2 changed files with 3 additions and 2 deletions

View File

@ -65,9 +65,9 @@ ALL= $(GENERAL) $(SRC) $(HEADER)
top:
(cd ..; $(MAKE) DIRS=$(DIR) all)
all: lib
all: lib subdirs
lib: $(LIBOBJ) subdirs
lib: $(LIBOBJ)
@if [ -n "$(SHARED_LIBS)" ]; then \
set -e; \
for l in $(LIBNAMES); do \

View File

@ -37,6 +37,7 @@ lib: $(LIBOBJ)
else \
$(AR) $(LIB) $(LIBOBJ); \
fi
@touch lib
install:
[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...