Home » Archimedes archive » Acorn Computing » 1994 02 subscription disc.adf » 9402s » PD/ArmSi/!ArmSI/Makefile

PD/ArmSi/!ArmSI/Makefile

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn Computing » 1994 02 subscription disc.adf » 9402s
Filename: PD/ArmSi/!ArmSI/Makefile
Read OK:
File size: 045D bytes
Load address: 0000
Exec address: 0000
File contents
# Project name:   Dhry
# AMU Makefile for Dhrystone for SI application
# By Nick Smith, 1992

# Can set the following defines ;
#       -DREG=register          (uses register class variables in places)
#       -DSILENT                (doesn't output anything except <ArmSI$Dhrystone>)
#       -DNORUNS=value          (number of runs for silent mode. eg, 10000)

# Toolflags:
CCflags = -c -depend !Depend -IC: -throwback  -DMSC_CLOCK  -DHZ=100  -DSILENT  -DNORUNS=75000  -w  -ff
Linkflags = -aif -o
ObjAsmflags = -depend !Depend -Stamp -quit -CloseExec
Squeezeflags = -o

# Dependencies

# system libraries
LDLIBS = c:o.Stubs

# user libraries
USRLIBS=

# source files (independently compilable files)
SOURCES= dhry_1.c dhry_2.c

# application object files
OBJECTS= dhry_1.o dhry_2.o

# Targets

all: Resources.Dhrystone

Resources.Dhrystone: $(OBJECTS) 
        link $(Linkflags) Resources.Dhrystones $(OBJECTS) $(USRLIBS) $(LDLIBS) 
        squeeze Resources.Dhrystones

.SUFFIXES: .o .c
.c.o:;  cc $(CCflags) -o $@ $<

# Dynamic dependencies:
o.dhry_1:	c.dhry_1
o.dhry_1:	h.dhry
o.dhry_2:	c.dhry_2
o.dhry_2:	h.dhry
00000000  23 20 50 72 6f 6a 65 63  74 20 6e 61 6d 65 3a 20  |# Project name: |
00000010  20 20 44 68 72 79 0a 23  20 41 4d 55 20 4d 61 6b  |  Dhry.# AMU Mak|
00000020  65 66 69 6c 65 20 66 6f  72 20 44 68 72 79 73 74  |efile for Dhryst|
00000030  6f 6e 65 20 66 6f 72 20  53 49 20 61 70 70 6c 69  |one for SI appli|
00000040  63 61 74 69 6f 6e 0a 23  20 42 79 20 4e 69 63 6b  |cation.# By Nick|
00000050  20 53 6d 69 74 68 2c 20  31 39 39 32 0a 0a 23 20  | Smith, 1992..# |
00000060  43 61 6e 20 73 65 74 20  74 68 65 20 66 6f 6c 6c  |Can set the foll|
00000070  6f 77 69 6e 67 20 64 65  66 69 6e 65 73 20 3b 0a  |owing defines ;.|
00000080  23 20 20 20 20 20 20 20  2d 44 52 45 47 3d 72 65  |#       -DREG=re|
00000090  67 69 73 74 65 72 20 20  20 20 20 20 20 20 20 20  |gister          |
000000a0  28 75 73 65 73 20 72 65  67 69 73 74 65 72 20 63  |(uses register c|
000000b0  6c 61 73 73 20 76 61 72  69 61 62 6c 65 73 20 69  |lass variables i|
000000c0  6e 20 70 6c 61 63 65 73  29 0a 23 20 20 20 20 20  |n places).#     |
000000d0  20 20 2d 44 53 49 4c 45  4e 54 20 20 20 20 20 20  |  -DSILENT      |
000000e0  20 20 20 20 20 20 20 20  20 20 28 64 6f 65 73 6e  |          (doesn|
000000f0  27 74 20 6f 75 74 70 75  74 20 61 6e 79 74 68 69  |'t output anythi|
00000100  6e 67 20 65 78 63 65 70  74 20 3c 41 72 6d 53 49  |ng except <ArmSI|
00000110  24 44 68 72 79 73 74 6f  6e 65 3e 29 0a 23 20 20  |$Dhrystone>).#  |
00000120  20 20 20 20 20 2d 44 4e  4f 52 55 4e 53 3d 76 61  |     -DNORUNS=va|
00000130  6c 75 65 20 20 20 20 20  20 20 20 20 20 28 6e 75  |lue          (nu|
00000140  6d 62 65 72 20 6f 66 20  72 75 6e 73 20 66 6f 72  |mber of runs for|
00000150  20 73 69 6c 65 6e 74 20  6d 6f 64 65 2e 20 65 67  | silent mode. eg|
00000160  2c 20 31 30 30 30 30 29  0a 0a 23 20 54 6f 6f 6c  |, 10000)..# Tool|
00000170  66 6c 61 67 73 3a 0a 43  43 66 6c 61 67 73 20 3d  |flags:.CCflags =|
00000180  20 2d 63 20 2d 64 65 70  65 6e 64 20 21 44 65 70  | -c -depend !Dep|
00000190  65 6e 64 20 2d 49 43 3a  20 2d 74 68 72 6f 77 62  |end -IC: -throwb|
000001a0  61 63 6b 20 20 2d 44 4d  53 43 5f 43 4c 4f 43 4b  |ack  -DMSC_CLOCK|
000001b0  20 20 2d 44 48 5a 3d 31  30 30 20 20 2d 44 53 49  |  -DHZ=100  -DSI|
000001c0  4c 45 4e 54 20 20 2d 44  4e 4f 52 55 4e 53 3d 37  |LENT  -DNORUNS=7|
000001d0  35 30 30 30 20 20 2d 77  20 20 2d 66 66 0a 4c 69  |5000  -w  -ff.Li|
000001e0  6e 6b 66 6c 61 67 73 20  3d 20 2d 61 69 66 20 2d  |nkflags = -aif -|
000001f0  6f 0a 4f 62 6a 41 73 6d  66 6c 61 67 73 20 3d 20  |o.ObjAsmflags = |
00000200  2d 64 65 70 65 6e 64 20  21 44 65 70 65 6e 64 20  |-depend !Depend |
00000210  2d 53 74 61 6d 70 20 2d  71 75 69 74 20 2d 43 6c  |-Stamp -quit -Cl|
00000220  6f 73 65 45 78 65 63 0a  53 71 75 65 65 7a 65 66  |oseExec.Squeezef|
00000230  6c 61 67 73 20 3d 20 2d  6f 0a 0a 23 20 44 65 70  |lags = -o..# Dep|
00000240  65 6e 64 65 6e 63 69 65  73 0a 0a 23 20 73 79 73  |endencies..# sys|
00000250  74 65 6d 20 6c 69 62 72  61 72 69 65 73 0a 4c 44  |tem libraries.LD|
00000260  4c 49 42 53 20 3d 20 63  3a 6f 2e 53 74 75 62 73  |LIBS = c:o.Stubs|
00000270  0a 0a 23 20 75 73 65 72  20 6c 69 62 72 61 72 69  |..# user librari|
00000280  65 73 0a 55 53 52 4c 49  42 53 3d 0a 0a 23 20 73  |es.USRLIBS=..# s|
00000290  6f 75 72 63 65 20 66 69  6c 65 73 20 28 69 6e 64  |ource files (ind|
000002a0  65 70 65 6e 64 65 6e 74  6c 79 20 63 6f 6d 70 69  |ependently compi|
000002b0  6c 61 62 6c 65 20 66 69  6c 65 73 29 0a 53 4f 55  |lable files).SOU|
000002c0  52 43 45 53 3d 20 64 68  72 79 5f 31 2e 63 20 64  |RCES= dhry_1.c d|
000002d0  68 72 79 5f 32 2e 63 0a  0a 23 20 61 70 70 6c 69  |hry_2.c..# appli|
000002e0  63 61 74 69 6f 6e 20 6f  62 6a 65 63 74 20 66 69  |cation object fi|
000002f0  6c 65 73 0a 4f 42 4a 45  43 54 53 3d 20 64 68 72  |les.OBJECTS= dhr|
00000300  79 5f 31 2e 6f 20 64 68  72 79 5f 32 2e 6f 0a 0a  |y_1.o dhry_2.o..|
00000310  23 20 54 61 72 67 65 74  73 0a 0a 61 6c 6c 3a 20  |# Targets..all: |
00000320  52 65 73 6f 75 72 63 65  73 2e 44 68 72 79 73 74  |Resources.Dhryst|
00000330  6f 6e 65 0a 0a 52 65 73  6f 75 72 63 65 73 2e 44  |one..Resources.D|
00000340  68 72 79 73 74 6f 6e 65  3a 20 24 28 4f 42 4a 45  |hrystone: $(OBJE|
00000350  43 54 53 29 20 0a 20 20  20 20 20 20 20 20 6c 69  |CTS) .        li|
00000360  6e 6b 20 24 28 4c 69 6e  6b 66 6c 61 67 73 29 20  |nk $(Linkflags) |
00000370  52 65 73 6f 75 72 63 65  73 2e 44 68 72 79 73 74  |Resources.Dhryst|
00000380  6f 6e 65 73 20 24 28 4f  42 4a 45 43 54 53 29 20  |ones $(OBJECTS) |
00000390  24 28 55 53 52 4c 49 42  53 29 20 24 28 4c 44 4c  |$(USRLIBS) $(LDL|
000003a0  49 42 53 29 20 0a 20 20  20 20 20 20 20 20 73 71  |IBS) .        sq|
000003b0  75 65 65 7a 65 20 52 65  73 6f 75 72 63 65 73 2e  |ueeze Resources.|
000003c0  44 68 72 79 73 74 6f 6e  65 73 0a 0a 2e 53 55 46  |Dhrystones...SUF|
000003d0  46 49 58 45 53 3a 20 2e  6f 20 2e 63 0a 2e 63 2e  |FIXES: .o .c..c.|
000003e0  6f 3a 3b 20 20 63 63 20  24 28 43 43 66 6c 61 67  |o:;  cc $(CCflag|
000003f0  73 29 20 2d 6f 20 24 40  20 24 3c 0a 0a 23 20 44  |s) -o $@ $<..# D|
00000400  79 6e 61 6d 69 63 20 64  65 70 65 6e 64 65 6e 63  |ynamic dependenc|
00000410  69 65 73 3a 0a 6f 2e 64  68 72 79 5f 31 3a 09 63  |ies:.o.dhry_1:.c|
00000420  2e 64 68 72 79 5f 31 0a  6f 2e 64 68 72 79 5f 31  |.dhry_1.o.dhry_1|
00000430  3a 09 68 2e 64 68 72 79  0a 6f 2e 64 68 72 79 5f  |:.h.dhry.o.dhry_|
00000440  32 3a 09 63 2e 64 68 72  79 5f 32 0a 6f 2e 64 68  |2:.c.dhry_2.o.dh|
00000450  72 79 5f 32 3a 09 68 2e  64 68 72 79 0a           |ry_2:.h.dhry.|
0000045d