@echo off
echo COMPILING ALL SOURCE FILES
FOR %%c in (./*.s) DO sdasz80 -o %%c.rel %%c
echo COMPILE LIBRARY
FOR %%c in (./*.rel) DO sdcclib getput.lib %%c
echo COPY GENERATED FILES
copy getput.lib ..
copy getput1.h ..
echo CLEAN UP
del *.rel
del getput.lib
