radare2/Makefile
pancake fc22e99c95 * Initial fixup for default LIBR_PLUGINS on installed r_lib
* Initial work to simplify build porting for OSX and W32
2009-03-10 21:58:00 +00:00

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