More makefile fixes for android and mingw32

This commit is contained in:
pancake 2017-10-19 01:54:44 +02:00
parent 6c17d2036d
commit 54a766a751
4 changed files with 6 additions and 6 deletions

View File

@ -149,7 +149,7 @@ windist:
@cp -f libr/bin/d/trx "${WINDIST}/share/radare2/${VERSION}/format"
@cp -f libr/bin/d/dll/*.sdb "${WINDIST}/share/radare2/${VERSION}/format/dll"
@mkdir -p "${WINDIST}/share/radare2/${VERSION}/cons"
@cp -f libr/cons/d/* "${WINDIST}/share/radare2/${VERSION}/cons"
@cp -af libr/cons/d/* "${WINDIST}/share/radare2/${VERSION}/cons"
@mkdir -p "${WINDIST}/share/radare2/${VERSION}/hud"
@cp -f doc/hud "${WINDIST}/share/radare2/${VERSION}/hud/main"
@mv "${WINDIST}" "radare2-${WINBITS}-${VERSION}"

View File

@ -6,8 +6,8 @@ include ../mk/${COMPILER}.mk
DESTDIR:=$(DESTDIR)
PREFIX?=${PWD}/../prefix
ARTYPE=default # gnu or ios
#ARTYPE:=gnu or ios
ARTYPE:=default
S=$
B=`

View File

@ -3,7 +3,7 @@
ARTYPE?=default
EXT_AR?=a
ifeq ($(ARTYPE),default)
ifeq (${ARTYPE},default)
libr.${EXT_AR}:
rm -rf .libr
mkdir .libr

View File

@ -8,13 +8,13 @@ all clean:
install: ${F_SDB}
rm -rf "$P"
mkdir -p "$P"
cp -f * "$P"
cp -af * "$P"
CWD=$(shell pwd)
symstall install-symlink:
mkdir -p "$P"
for FILE in * ; do \
if [ $$FILE != Makefile ]; then \
if [ $$FILE != Makefile -a -f $$FILE ]; then \
ln -fs "${CWD}/$$FILE" "$P/$$FILE" ; \
fi ; \
done