[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.8, Thu Mar 27 05:35:07 2014 UTC (10 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.7: +1 -1 lines

The file hgm_ko_nc_fb.c is copied and other files are not copied.

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-orthant
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/
rsync-orthant:
	${RSYNC} ../../hgm/orthant/src/hgm_ko_nc_fb.c hgm/src/

copy-web: build-hgm
	${RSYNC} hgm*gz ${USER}@lemon.math.kobe-u.ac.jp:/home/web/OpenXM/Math/hgm