head	1.2;
access;
symbols
	RELEASE_6_0_0:1.1.1.1
	RELEASE_5_4_0:1.1.1.1
	RELEASE_4_11_0:1.1.1.1
	RELEASE_5_3_0:1.1.1.1
	RELEASE_4_10_0:1.1.1.1
	RELEASE_5_2_1:1.1.1.1
	RELEASE_5_2_0:1.1.1.1
	RELEASE_4_9_0:1.1.1.1
	RELEASE_5_1_0:1.1.1.1
	RELEASE_4_8_0:1.1.1.1
	RELEASE_5_0_0:1.1.1.1
	RELEASE_4_7_0:1.1.1.1
	RELEASE_4_6_2:1.1.1.1
	RELEASE_4_6_1:1.1.1.1
	RELEASE_4_6_0:1.1.1.1
	RELEASE_5_0_DP1:1.1.1.1
	RELEASE_4_5_0:1.1.1.1
	RELEASE_4_4_0:1.1.1.1
	RELEASE_4_3_0:1.1.1.1
	RELEASE_4_2_0:1.1.1.1
	RELEASE_4_1_1:1.1.1.1
	RELEASE_4_1_0:1.1.1.1
	RELEASE_3_5_0:1.1.1.1
	RELEASE_4_0_0:1.1.1.1
	RELEASE_3_4_0:1.1.1.1
	RELEASE_3_3_0:1.1.1.1
	RELEASE_3_2_0:1.1.1.1
	RELEASE_3_1_0:1.1.1.1
	RELEASE_2_2_8:1.1.1.1
	RELEASE_3_0_0:1.1.1.1
	RELEASE_2_2_7:1.1.1.1
	o2c_1_16:1.1.1.1
	OB:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2005.11.05.09.07.33;	author kris;	state dead;
branches;
next	1.1;

1.1
date	98.06.12.12.08.09;	author tg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.06.12.12.08.09;	author tg;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove expired ports
@
text
@#! /bin/csh 

if ( $#argv == 0 )    goto usage
if ( $1 == "--make" ) goto make
if ( $1 == "-m" )     goto make

compile:
#
# compile files, check extension
#
if ( $1 == "-c" ) then 
  set file = $2 
else 
  set file = $1 
endif
echo Extension $file:e
if ( $file:e != "Mod" ) then
  set file = $file".Mod"
endif
echo compiling $file "..."
o2c $file | o2ef | more
goto end

make:
#
# make Oberon program, remove Extension
#
echo making $2:r $3:r $4:r $5:r $6:r "..."
o2c --make $2:r $3:r $4:r $5:r $6:r 
goto end

usage:
#
# show a litle help
#
echo ""
echo " o2 [option] File "
echo ""
echo "     option: "
echo "       --make         make Project "
echo "       -m             make Project "
echo "       -c  (default)  compile Module "
echo ""

end:

@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@New port o2c, an Oberon-2 compiler.

PR:		5273
Submitted by:	Oliver Breuninger <ob@@seicom.NET>
@
text
@@
