Home > src > vtcalcs > Makefile.m

Makefile

PURPOSE ^

SYNOPSIS ^

function Makefile(platform)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function Makefile(platform)
0002 
0003 if (strcmp(lower(platform),'unix'))
0004    disp('Compiling on Unix');
0005    mex -I. UTgetdata.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0006    plot_lib.c
0007    
0008    mex -I. T2getdata.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0009    plot_lib.c
0010    
0011    mex -I. P3getdata.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0012    plot_lib.c
0013    
0014    mex -I. AMgetdata.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0015    plot_lib.c lam_lib.c
0016    
0017    mex -I. AS2F.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0018    plot_lib.c lam_lib.c
0019 elseif (strcmp(lower(platform),'windows'))
0020    disp('Compiling on Windows');
0021    mex -I. -DWINDOWS_COMPILE UTgetdata.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0022    plot_lib.c
0023    
0024    mex -I. -DWINDOWS_COMPILE T2getdata.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0025    plot_lib.c
0026    
0027    mex -I. -DWINDOWS_COMPILE P3getdata.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0028    plot_lib.c
0029    
0030    mex -I. -DWINDOWS_COMPILE AMgetdata.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0031    plot_lib.c lam_lib.c
0032    
0033    mex -I. -DWINDOWS_COMPILE AS2F.c vtf_lib.c vsyn_lib.c vtt_lib.c complex.c ...
0034    plot_lib.c lam_lib.c
0035 else,
0036    error('Incorrect platform specified');
0037 end;

Generated on Tue 27-Mar-2007 12:06:24 by m2html © 2003