mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 12:18:11 +00:00
- Added uninstall target
This commit is contained in:
parent
f02c5642d0
commit
f6bdf8d86c
1 changed files with 12 additions and 0 deletions
12
Makefile
12
Makefile
|
@ -32,6 +32,18 @@ install:
|
||||||
fi \
|
fi \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(DESTDIR)/include/polarssl
|
||||||
|
rm -f $(DESTDIR)/lib/libpolarssl.*
|
||||||
|
|
||||||
|
for p in programs/*/* ; do \
|
||||||
|
if [ -x $$p ] && [ ! -d $$p ] ; \
|
||||||
|
then \
|
||||||
|
f=$(PREFIX)`basename $$p` ; \
|
||||||
|
rm -f $(DESTDIR)/bin/$$f ; \
|
||||||
|
fi \
|
||||||
|
done
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd library && $(MAKE) clean && cd ..
|
cd library && $(MAKE) clean && cd ..
|
||||||
cd programs && $(MAKE) clean && cd ..
|
cd programs && $(MAKE) clean && cd ..
|
||||||
|
|
Loading…
Reference in a new issue