tinywebd

diff libtinyweb/Makefile @ 15:4a25751fe61d

fixed the makefiles
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Apr 2015 04:18:08 +0300
parents 0dd50a23f3dd
children
line diff
     1.1 --- a/libtinyweb/Makefile	Sun Apr 19 01:14:24 2015 +0300
     1.2 +++ b/libtinyweb/Makefile	Sun Apr 19 04:18:08 2015 +0300
     1.3 @@ -30,6 +30,7 @@
     1.4  $(solib): $(obj)
     1.5  	$(CC) -o $@ $(shared) $(obj) $(LDFLAGS)
     1.6  	[ -n "$(soname)" ] && \
     1.7 +		rm -f $(soname) $(ldname) && \
     1.8  		ln -s $(solib) $(soname) && \
     1.9  		ln -s $(soname) $(ldname) || true
    1.10  
    1.11 @@ -57,6 +58,7 @@
    1.12  	cp $(solib) $(DESTDIR)$(PREFIX)/lib/$(solib)
    1.13  	[ -n "$(soname)" ] && \
    1.14  		cd $(DESTDIR)$(PREFIX)/lib && \
    1.15 +		rm -f $(soname) $(ldname) && \
    1.16  		ln -s $(solib) $(soname) && \
    1.17  		ln -s $(soname) $(ldname) || \
    1.18  		true