15613161c2
with the simulator. This program is generally compiled as the name m5 and installed in /usr/local/bin This command uses opcodes that are invalid on a normal system, so don't expect it to do anything on a real system. --HG-- extra : convert_revision : fcbae99d4b0d38ff4a9950f1ab53923baa1f667a
13 lines
142 B
Makefile
13 lines
142 B
Makefile
all: m5
|
|
|
|
m5: m5.o m5op.o
|
|
cc -o m5 m5.o m5op.o
|
|
|
|
m5op.o: m5op.s
|
|
as -o m5op.o m5op.s
|
|
|
|
m5.o: m5.c
|
|
cc -c -o m5.o m5.c
|
|
|
|
clean:
|
|
@rm -f m5 *.o *~
|