[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / R / r-packages

File: [local] / OpenXM / src / R / r-packages / Makefile (download)

Revision 1.5, Sat Mar 15 11:23:32 2014 UTC (10 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.4: +2 -2 lines

Fixed a bug of the Makefile (target rsync is put in the depend list).

RSYNC=rsync -Cavz --safe-links

usage:
	@echo "check-hgm, build-hgm"
	@echo "rsync, copy-web"

check-hgm: rsync
	R CMD check hgm
build-hgm: rsync
	R CMD build hgm

rsync: rsync-gsl-t-1 rsync-so3 rsync-mh
rsync-gsl-t-1: 
	${RSYNC} ../../hgm/gsl-t-1/src/*.c hgm/src/
	${RSYNC} ../../hgm/gsl-t-1/src/*.h hgm/src/
rsync-so3:
	${RSYNC} ../../hgm/so3/src/*.c hgm/src/
rsync-mh:
	${RSYNC} --exclude test1.c --exclude test2.c ../../hgm/mh/src/*.c hgm/src/
	${RSYNC} ../../hgm/mh/src/*.h hgm/src/

copy-web: build-hgm
	scp hgm*gz ${USER}@lemon.math.kobe-u.ac.jp:/home/web/HOME/${USER}/2012/tmp