2019-02-19 14:28:54 +01:00
|
|
|
all: native386 clean
|
|
|
|
|
|
|
|
native386:
|
2019-12-18 14:02:53 +01:00
|
|
|
cp ../../ngaImage nativeImage
|
2020-02-29 16:50:19 +01:00
|
|
|
../../bin/retro-extend nativeImage x86/common.retro x86/cmos-rtc.retro x86/serial.retro x86/display.retro x86/ata.retro x86/listener.retro
|
|
|
|
# x86/Block-Editor.retro
|
2019-12-18 14:02:53 +01:00
|
|
|
../../bin/retro-embedimage nativeImage >image.c
|
2019-02-22 15:26:47 +01:00
|
|
|
cc -fno-pie -Wall -m32 -DTARGET_X86 -c retro.c -o retro_qwerty.o
|
|
|
|
cc -fno-pie -Wall -m32 -DTARGET_X86 -DUSE_DVORAK -c retro.c -o retro_dvorak.o
|
2019-02-19 14:28:54 +01:00
|
|
|
nasm -f elf 386.s
|
2020-02-29 16:50:19 +01:00
|
|
|
ld -z notext -nostdlib -m elf_i386 -T 386.ld 386.o retro_qwerty.o -o bin/rnf_qwerty.386
|
|
|
|
ld -z notext -nostdlib -m elf_i386 -T 386.ld 386.o retro_dvorak.o -o bin/rnf_dvorak.386
|
2018-01-30 18:25:44 +01:00
|
|
|
|
|
|
|
clean:
|
2019-01-04 04:29:59 +01:00
|
|
|
rm -f *.o
|
2018-01-30 18:25:44 +01:00
|
|
|
# rm bin/rf.*
|