echo off

rem Usage: makeinit codir
rem   codir   directory containing codger.exe (e.g.- ..\Debug)
rem Purpose: create yinit.c and ywrap.c for yorick build process

rem edit the parameters for this codger command line to build versions
rem of yorick with alternative sets of packages
rem
%1\codger.exe -Df_linkage "" "" ../i0/graph.i ../i0/matrix.i ../i0/fft.i ../i0/drat.i ../i0/hex.i -

copy/y makewdef.c+ycode.c ywrap.c
copy/y makeidef.c+ycode.c yinit.c
del ycode.c
