Add the pc86emu skeleton.
This commit is contained in:
parent
eb96ea5d28
commit
9132641100
|
@ -1 +1,4 @@
|
|||
The x86emu directory contains a copy of the xorg 8086 emulation library from
the X server. It's distributable under the MIT/X11 license, and so is
compatible with the ACK.
|
||||
The x86emu directory contains a copy of the xorg 8086 emulation library from
|
||||
the X server. It's distributable under the MIT/X11 license, and so is
|
||||
compatible with the ACK.
|
||||
|
||||
|
|
19
plat/pc86/emu/build.lua
Normal file
19
plat/pc86/emu/build.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
clibrary {
|
||||
name = "x86emu",
|
||||
vars = {
|
||||
["+cflags"] = {"-Iplat/pc86/emu/x86emu"}
|
||||
},
|
||||
srcs = {"./x86emu/*.c"}
|
||||
}
|
||||
|
||||
cprogram {
|
||||
name = "pc86emu",
|
||||
srcs = {"./main.c"},
|
||||
vars = {
|
||||
["+cflags"] = {"-Iplat/pc86/emu/x86emu"}
|
||||
},
|
||||
deps = {
|
||||
"+x86emu"
|
||||
}
|
||||
}
|
||||
|
9
plat/pc86/emu/main.c
Normal file
9
plat/pc86/emu/main.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
int main(int argc, const char* argv[])
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in a new issue