[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / hgm / fisher-bingham / src

File: [local] / OpenXM / src / hgm / fisher-bingham / src / Makefile (download)

Revision 1.1, Wed Mar 26 04:38:38 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN

hgm_ko_nc_fb evaluates the normalizing constant for the Fisher-Bingham
distribution by the HGM.
This is a standalone version.
(commit by proxy of T.Koyama)

#CC=gcc

hgm_ko_nc_fb: hgm_ko_nc_fb.o
	${CC} -o hgm_ko_nc_fb hgm_ko_nc_fb.o -lgsl -lblas -lm
hgm_ko_nc_fb.o: hgm_ko_nc_fb.c
	${CC} -c -DSTANDALONE hgm_ko_nc_fb.c
#todo, the install folder should be changeable by configure.
install: hgm_ko_nc_fb
	install hgm_ko_nc_fb ../../../../bin
clean:
	rm -f *.o *~ hgm_ko_nc_fb