diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-02-04 16:15:29 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-02-04 16:15:29 +0000 |
commit | 7906527e60a44335939026e07a530fd301b0aa4b (patch) | |
tree | 6c4994dc6f4299a1489e82c638ee47c3af190ebd /lib/make/make.thornlib | |
parent | e92006cfcecbf387471ea518abc5f97434cb0051 (diff) |
Checks for the existence of a library before trying to delete it !
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@210 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.thornlib')
-rw-r--r-- | lib/make/make.thornlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib index 9e1147ad..025bfc87 100644 --- a/lib/make/make.thornlib +++ b/lib/make/make.thornlib @@ -54,7 +54,7 @@ OBJS = $(patsubst %,%.o,$(basename $(SRCS))) $(NAME): $(addsuffix .check, $(SUBDIRS)) $(OBJS) $(SRCDIR)/make.code.defn $(foreach DIR,$(SUBDIRS), $(SRCDIR)/$(DIR)/make.code.defn) @echo $(DIVIDER) if [ -r $(NAME) ] ; then echo Updating $(NAME) ; else echo Creating $(NAME) ; fi - rm $@ + if [ -r $@ ] ; then rm $@ ; fi $(AR) $(ARFLAGS) $@ $(OBJS) # $(RANLIB) $@ |