summaryrefslogtreecommitdiff
path: root/cleanmacros.sce
blob: a6428b2a8ab9f2a96a98363ab3c7936baaf07fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// ====================================================================
// This file is released under the 3-clause BSD license. See COPYING-BSD.
// ====================================================================
function cleanmacros()

    libpath = get_absolute_file_path("cleanmacros.sce");

    binfiles = ls(libpath+"/*.bin");
    for i = 1:size(binfiles,"*")
        mdelete(binfiles(i));
    end

    mdelete(libpath+"/names");
    mdelete(libpath+"/lib");
endfunction

cleanmacros();
clear cleanmacros; // remove cleanmacros on stack

// ====================================================================