activate BONDS and CASH commands
[rofl0r-financial-time-machine.git] / make2
blob2aa24333fb513ffbeb66952a3e5bb3cf128bb70e
1 .Key file,opt1,opt2,opt3
2 ;           Compile a C program                       Version 3.00
3 ;           Works with Lattice version 3.02 and above
4 if not exists <file$t1>.c
5    echo "File <file$t1>.c does not exist.  Try again."
6    skip END
7    endif
8 echo "-- compiling...<file$t1>.c"
10 :c/lc1 <opt1> <opt2> <opt3> -i:include/ -i:include/lattice/ -idf0: <file$t1>
11 if not exists "<file$t1>.q"
12    echo "Compile failed."
13    quit 20
14    endif
15 :c/lc2 <file$t1>
17 LAB END
18 date >df0:now