/*******************************************************************
 * File:         IconSprites.c
 * Purpose:      Adding sprites to the WIMP sprite pool
 * Author:       Richard Butler
 * Date:         30 Dec 2001 (Special EasiFiler Version)
 ******************************************************************/

/*
    IconSprites - Adding sprites to the WIMP sprite pool
    Special EasiFiler Version
    Copyright  2001, Richard Butler

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/

#include <kernel.h>
#include <stdio.h>

int main(int argc, char *argv[])
{
  char *outname = "";
  char *buffer = "";

  printf("\nIconSprites Version 0.01 (Special EasiFiler Version)\n");
  printf("Copyright  Richard Butler 2001\n\n");

  if (argc < 2) printf("At least one input file must be specified");
  outname = argv[1];

  sprintf(buffer, "IconSprites %s", outname);
  _kernel_oscli(buffer);

  printf("Sprites added successfully\n");

  _kernel_oscli("*");

  return 0;
}
