Author: robhamerling
Date: Wed Dec 24 06:34:10 2008
New Revision: 649
Added:
trunk/unvalidated/compiler/make_sample.cmd
Log:
Rexx script to compile a blink-an-LED sample with eComStation (OS/2)
Added: trunk/unvalidated/compiler/make_sample.cmd
==============================================================================
--- (empty file)
+++ trunk/unvalidated/compiler/make_sample.cmd Wed Dec 24 06:34:10 2008
@@ -0,0 +1,22 @@
+/* Rexx script to compile a sample under eComStation (OS/2) */
+
+/* Execute this Rexx procedure to compile one of the Jallib
+ 'blink-an-LED' sample programs. You may need to change
+ the base directory of the Jallib Pack and the target PICmicro */
+
+base = 'k:\jalpack\' /* Jallib pack base
directory */
+pic = '16f877a' /* target device */
+
+cc = base'compiler\jalv2ecs' /* compiler binary */
+lib = base'lib' /* library */
+smp = base'sample\by_device\' /* directory with samples
*/
+pgm = smp||pic'\blink_'pic /* sample program */
+
+'@'cc '-long-start -s' lib pgm'.jal' /* compilation */
+
+say ''
+if rc = 0 then
+ say 'Result in file' pgm'.hex'
+else
+ say 'Compilation failed'
+
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---