1 target
: test-emulation.txt
3 include ..
/common
/Rules.mk
6 (echo v1
;echo @
8000000000005000;echo
999999) | mmmix nodiv.mmconfig
$<
8 interrupts.o test-emulation.o
: ..
/common
/fb-io.h
10 test-emulation.elf
: interrupts.o test-emulation.o stdio.o fb-io.o interrupts.o
11 $(MMIXCC
) $^
-Ttext
=1000 -o
$@
13 stdio.o
: ..
/common
/stdio.c
14 $(MMIXCC
) $(CFLAGS
) -c
$< -o
$@
16 interrupts.o
: ..
/common
/interrupts.S
17 $(MMIXCC
) -DUSER_TRAPHANDLER
$(CFLAGS
) -c
$< -o
$@
19 fb-io.o
: ..
/common
/fb-io.c
20 $(MMIXCC
) $(CFLAGS
) -c
$< -o
$@
22 test-divu.elf
: test-divu.o
23 $(MMIX_TOOLS_BIN
)/mmix-ld
-Ttext
=5000 $< -o
$@
26 test-divu2.elf
: test-divu2.mmo
27 $(MMIX_TOOLS_BIN
)/mmix-objcopy
-I mmo
-O elf64-mmix
$< $@