mirror of https://github.com/CGAL/cgal
30 lines
561 B
Tcsh
30 lines
561 B
Tcsh
#!/bin/csh -f
|
|
|
|
rm -f button32.h
|
|
|
|
chdir button32
|
|
|
|
foreach f (*)
|
|
echo "#include <CGAL/LEDA/pixmaps/button32/$f>" >> ../button32.h
|
|
end
|
|
|
|
echo "" >> ../button32.h
|
|
echo "#define num_button32 50" >> ../button32.h
|
|
|
|
echo "" >> ../button32.h
|
|
echo "char** xpm_button32[] = {" >> ../button32.h
|
|
foreach f (*)
|
|
set g=`basename $f .xpm`
|
|
echo $g"_xpm", >> ../button32.h
|
|
end
|
|
echo "};" >> ../button32.h
|
|
|
|
echo "" >> ../button32.h
|
|
echo "char* name_button32[] = {" >> ../button32.h
|
|
foreach f (*)
|
|
set g=`basename $f .xpm`
|
|
echo \"$g\", >> ../button32.h
|
|
end
|
|
echo "};" >> ../button32.h
|
|
|