Require unix-utils in path for windows make

This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-13 11:59:19 +00:00
parent d72704b0d5
commit 5d46cca09a
5 changed files with 9 additions and 25 deletions

View file

@ -77,11 +77,7 @@ shared: libpolarssl.so
libpolarssl.a: libmbedtls.a
echo " LN $@ -> $?"
ifndef WINDOWS
ln -sf $? $@
else
copy /y /b $? $@
endif
libmbedtls.a: $(OBJS)
echo " AR $@"
@ -91,11 +87,7 @@ libmbedtls.a: $(OBJS)
libpolarssl.so: libmbedtls.so
echo " LN $@ -> $?"
ifndef WINDOWS
ln -sf $? $@
else
copy /y /b $? $@
endif
libmbedtls.${DLEXT}: $(OBJS)
echo " LD $@"
@ -118,9 +110,4 @@ libmbedtls.dll: $(OBJS)
$(CC) $(CFLAGS) $(OFLAGS) -c $<
clean:
ifndef WINDOWS
rm -f *.o libpolarssl.* libmbedtls.*
endif
ifdef WINDOWS
del /Q /F *.o libpolarssl.* libmbedtls.*
endif