mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-29 17:33:08 +00:00
More makefile fixes for android and mingw32
This commit is contained in:
parent
6c17d2036d
commit
54a766a751
2
Makefile
2
Makefile
@ -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}"
|
||||
|
@ -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=`
|
||||
|
@ -3,7 +3,7 @@
|
||||
ARTYPE?=default
|
||||
EXT_AR?=a
|
||||
|
||||
ifeq ($(ARTYPE),default)
|
||||
ifeq (${ARTYPE},default)
|
||||
libr.${EXT_AR}:
|
||||
rm -rf .libr
|
||||
mkdir .libr
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user