#!/bin/sh
#export PATH=$PATH:/bin:/usr/bin:/usr/local/bin:
#cd F:\\eeprom_make
cd ./xml
rm -f eeprom.pix
rm -f gcc.out.S
rm -f *.ps
rm -f *.txt
rm -f PIXCIR_customer_pinmap.h

cp PIXCIR_customer_pinmap.tmp ../PIXCIR_customer_pinmap.xml
cd ..
#make > /xml/log.txt 2> /xml/error.txt
make
cp *.S ./xml
cp *.pix ./xml
cp PIXCIR_customer_pinmap.h ./xml
cp test_report_out_XYscan.ps ./xml/report.ps

# uncomment in order to keep the shell open
#bash
