; this is a windows batch file to compile hi.c
-set SDCCINC=c:\usr\local\sdcc\device\include
-set SDCCLIBS=c:\usr\local\sdcc\device\lib\small
+; set SDCCINC=c:\usr\local\sdcc\device\include
+; set SDCCLIBS=c:\usr\local\sdcc\device\lib\small
+
+set SDCCINC=c:\sdcc\include
+set SDCCLIBS=c:\sdcc\lib\small
+
+sdcc -I %SDCCINC% -L %SDCCLIBS% hi.c
-sdcc -I $(SDCCINC) hi.c sdcclib.lib -L $(SDCCINC)
program to compile and play with.
The simulator can be used to run this program:
- s51 -Sout=testout.txt hi.ihx (run, stop, quit)
+ s51 -Sout=serial.txt hi.ihx (run, stop, quit)
6-28-01 Written by Karl Bongers(karl@turbobit.com)
|------------------------------------------------------------------------*/