/*
	calo.h
#define PROGRAM   "プログラム名 - calo.h -"
#define VERSION   "V0.00"
#define FIRSTDATE "94/11/26"
#define FINALDATE "94/11/28"
#define USAGE     "Usage: 使い方"
*/

#ifndef MAIN
#error for MAIN only.
#endif

#include <stdio.h>
#include <stdlib.h>

#ifdef 	LSI_C
#define USE_CC	"/use LSI C-86 V3.30c 試食版"
#else
#define USE_CC	""
#endif 
#define PPVER    PROGRAM " " VERSION "  since " FIRSTDATE " - " FINALDATE
#define CALOCOPY "   by ｃａｌｏ.[pec01662@niftyserve.or.jp](CopyLeft)" USE_CC

void usage( char *prg ){
	if( errno != NULL ){
		perror( prg );
	} else {
		fputs( prg, stderr );
		fputs( "\n" PPVER "\n" CALOCOPY "\n" ,stderr );
	}
	fputs( USAGE "\n" ,stderr );
	exit(1);
}
