diff --git a/historical/byte_tester/SCOPTIONS b/historical/byte_tester/SCOPTIONS new file mode 100644 index 00000000..f3b37b0e --- /dev/null +++ b/historical/byte_tester/SCOPTIONS @@ -0,0 +1,11 @@ +CPU=68000 +PARAMETERS=REGISTERS +ANSI +NOMULTIPLEINCLUDES +OPTIMIZE +VERBOSE +OPTIMIZERSCHEDULER +NOVERSION +OPTIMIZERTIME +CODE=FAR +DATA=FAR diff --git a/historical/byte_tester/smakefile b/historical/byte_tester/smakefile new file mode 100644 index 00000000..25562783 --- /dev/null +++ b/historical/byte_tester/smakefile @@ -0,0 +1,32 @@ + +CMATH = MATH=STANDARD +MATH = m # math link library designation + +CC = sc +CFLAGS = +LINKER = slink +LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib +LFLAGS = STRIPDEBUG NOICONS + +CFILES = main.c +HFILES = +OFILES = LIB:c.o main.o +ALLFILES = $(CFILES) $(HFILES) $(OFILES) + + +all: main + + +main: $(ALLFILES) smakefile SCOPTIONS + $(LINKER) $(LFLAGS) FROM $(OFILES) TO byte_tester $(LLIB) + + +main.o: main.c + $(CC) $(CFLAGS) main.c + + +$(OFILES): $(HFILES) + + +clean: + delete \#?.o \#?.gb \#?.lnk \#?.info byte_tester diff --git a/historical/makefiles/smake.6502 b/historical/makefiles/smake.6502 index aa235564..3a89095e 100644 --- a/historical/makefiles/smake.6502 +++ b/historical/makefiles/smake.6502 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define MCS6502=1 +CFLAGS = define AMIGA=1 define MCS6502=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.6510 b/historical/makefiles/smake.6510 index ae054ddd..cda554b5 100644 --- a/historical/makefiles/smake.6510 +++ b/historical/makefiles/smake.6510 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define MCS6510=1 +CFLAGS = define AMIGA=1 define MCS6510=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.65816 b/historical/makefiles/smake.65816 index 59b3ce1c..898246cc 100644 --- a/historical/makefiles/smake.65816 +++ b/historical/makefiles/smake.65816 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define W65816=1 +CFLAGS = define AMIGA=1 define W65816=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.65c02 b/historical/makefiles/smake.65c02 index 7bc7552b..606c40b1 100644 --- a/historical/makefiles/smake.65c02 +++ b/historical/makefiles/smake.65c02 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define WDC65C02=1 +CFLAGS = define AMIGA=1 define WDC65C02=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.65ce02 b/historical/makefiles/smake.65ce02 index a4795aea..c1f64310 100644 --- a/historical/makefiles/smake.65ce02 +++ b/historical/makefiles/smake.65ce02 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define CSG65CE02=1 +CFLAGS = define AMIGA=1 define CSG65CE02=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.6800 b/historical/makefiles/smake.6800 index 0146dc50..19c371f5 100644 --- a/historical/makefiles/smake.6800 +++ b/historical/makefiles/smake.6800 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define MC6800=1 +CFLAGS = define AMIGA=1 define MC6800=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.6801 b/historical/makefiles/smake.6801 index 16ed8c98..9fd856f7 100644 --- a/historical/makefiles/smake.6801 +++ b/historical/makefiles/smake.6801 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define MC6801=1 +CFLAGS = define AMIGA=1 define MC6801=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.6809 b/historical/makefiles/smake.6809 index 7def36f8..02027c49 100644 --- a/historical/makefiles/smake.6809 +++ b/historical/makefiles/smake.6809 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define MC6809=1 +CFLAGS = define AMIGA=1 define MC6809=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.8008 b/historical/makefiles/smake.8008 index d19fd8c5..c2909c9f 100644 --- a/historical/makefiles/smake.8008 +++ b/historical/makefiles/smake.8008 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define I8008=1 +CFLAGS = define AMIGA=1 define I8008=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.8080 b/historical/makefiles/smake.8080 index d2d6e67e..9c6f9799 100644 --- a/historical/makefiles/smake.8080 +++ b/historical/makefiles/smake.8080 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define I8080=1 +CFLAGS = define AMIGA=1 define I8080=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.gb b/historical/makefiles/smake.gb index f2a5dff8..9fbc246f 100644 --- a/historical/makefiles/smake.gb +++ b/historical/makefiles/smake.gb @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define GB=1 +CFLAGS = define AMIGA=1 define GB=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.huc6280 b/historical/makefiles/smake.huc6280 index ec9440c1..3a1b82c4 100644 --- a/historical/makefiles/smake.huc6280 +++ b/historical/makefiles/smake.huc6280 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define HUC6280=1 +CFLAGS = define AMIGA=1 define HUC6280=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.spc700 b/historical/makefiles/smake.spc700 index 9089d254..a272c79d 100644 --- a/historical/makefiles/smake.spc700 +++ b/historical/makefiles/smake.spc700 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define SPC700=1 +CFLAGS = define AMIGA=1 define SPC700=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS diff --git a/historical/makefiles/smake.z80 b/historical/makefiles/smake.z80 index fc8f8667..bc1f6b8a 100644 --- a/historical/makefiles/smake.z80 +++ b/historical/makefiles/smake.z80 @@ -3,7 +3,7 @@ CMATH = MATH=STANDARD MATH = m # math link library designation CC = sc -CFLAGS = define AMIGA=1 define Z80=1 +CFLAGS = define AMIGA=1 define Z80=1 define NDEBUG=1 LINKER = slink LLIB = LIB LIB:sc$(MATH).lib LIB:sc.lib LIB:amiga.lib LFLAGS = STRIPDEBUG NOICONS