Revert "Require unix-utils in path for windows make"
This reverts commit 5d46cca09a380410965cc65568a5fafbc2658e2e.
In preparation of merging an external contribution that superseedes this
Conflicts:
ChangeLog
diff --git a/library/Makefile b/library/Makefile
index 9a4c3fd..d92d803 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -80,7 +80,11 @@
libpolarssl.a: libmbedtls.a
echo " LN $@ -> $?"
+ifndef WINDOWS
ln -sf $? $@
+else
+ copy /y /b $? $@
+endif
libmbedtls.a: $(OBJS)
echo " AR $@"
@@ -90,7 +94,11 @@
libpolarssl.so: libmbedtls.so
echo " LN $@ -> $?"
+ifndef WINDOWS
ln -sf $? $@
+else
+ copy /y /b $? $@
+endif
libmbedtls.${DLEXT}: $(OBJS)
echo " LD $@"
@@ -113,4 +121,9 @@
$(CC) $(CFLAGS) $(OFLAGS) -c $<
clean:
+ifndef WINDOWS
rm -f *.o libpolarssl.* libmbedtls.*
+endif
+ifdef WINDOWS
+ del /Q /F *.o libpolarssl.* libmbedtls.*
+endif