diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-05-12 11:43:32 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-05-12 11:43:32 +0200 |
commit | 49b39288133272578b8be86e3ced4468927fce5b (patch) | |
tree | 8d6e45289d6fd4de480c252255c4f93c211c6731 /emulator | |
parent | 40b4d52e905227849785f6520d0381f19657820a (diff) |
Cleanup build
Diffstat (limited to 'emulator')
-rw-r--r-- | emulator/hart_test.c | 2 | ||||
-rw-r--r-- | emulator/lib.c | 3 | ||||
-rw-r--r-- | emulator/main.c | 4 |
3 files changed, 3 insertions, 6 deletions
diff --git a/emulator/hart_test.c b/emulator/hart_test.c index 5509dab..5f2549b 100644 --- a/emulator/hart_test.c +++ b/emulator/hart_test.c @@ -247,5 +247,3 @@ int main(int argc, char* argv[]) test();
return EXIT_SUCCESS;
}
-
-#include "emulator/hart.c"
diff --git a/emulator/lib.c b/emulator/lib.c new file mode 100644 index 0000000..453a3f9 --- /dev/null +++ b/emulator/lib.c @@ -0,0 +1,3 @@ +#include "hart.c"
+#include "elf.c"
+
diff --git a/emulator/main.c b/emulator/main.c index a00a717..4bf99a3 100644 --- a/emulator/main.c +++ b/emulator/main.c @@ -31,7 +31,3 @@ int main(int argc, char* argv[]) return EXIT_SUCCESS;
}
-
-#include "emulator/hart.c"
-#include "emulator/elf.c"
-
|