mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
fc22e99c95
* Initial work to simplify build porting for OSX and W32
28 lines
652 B
Makefile
28 lines
652 B
Makefile
include config.mk
|
|
|
|
all:
|
|
cd libr && make
|
|
|
|
clean:
|
|
cd libr && make clean
|
|
|
|
install:
|
|
mkdir -p ${DESTDIR}${PREFIX}
|
|
cd libr && make install PARENT=1 PREFIX=${DESTDIR}${PREFIX}
|
|
|
|
uninstall:
|
|
rm -rf prefix
|
|
|
|
deinstall: uninstall
|
|
cd libr && make uninstall PARENT=1 PREFIX=${DESTDIR}${PREFIX}
|
|
|
|
dist:
|
|
FILES=`hg st -mc .| cut -c 3-|sed -e s,^,radare2-${VERSION}/,` ; \
|
|
cd .. && mv radare2 radare2-${VERSION} && \
|
|
tar czvf radare2-${VERSION}.tar.gz $${FILES} ;\
|
|
mv radare2-${VERSION} radare2
|
|
if [ ${RELEASE} = 1 ]; then \
|
|
scp radare2-$${DATE}.tar.gz news.nopcode.org:/home/www/radarenopcode/get/shot ; fi
|
|
|
|
.PHONY: all clean install uninstall deinstall dist
|