view tool/main.c @ 3:003df9892e57

import original TCS211 libs from Sotovik
author Space Falcon <falcon@ivan.Harhan.ORG>
date Fri, 05 Jun 2015 21:19:08 +0000
parents 058d377fc299
children 5ba13fd0e737
line wrap: on
line source

/*
 * ti-libpatch main module
 */

#include <stdio.h>
#include <stdlib.h>
#include "globals.h"

main(argc, argv)
	char **argv;
{
	if (argc != 4) {
		fprintf(stderr, "usage: %s in.out patch-desc out.lib\n",
			argv[0]);
		exit(1);
	}
	lib_in_filename = argv[1];
	patch_desc_filename = argv[2];
	lib_out_filename = argv[3];
	read_spec_file();
	process_archive();
	exit(0);
}