diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-28 06:25:47 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-28 06:25:47 +0200 |
| commit | 00df8fa52de0a5a379bfd36b34d4502251ceec72 (patch) | |
| tree | 945ba7a529f616e9c88f8c5932e32958eaddb82c | |
| parent | 60a8ac37cd3be6b96488d1f2df0b50d36cbaf991 (diff) | |
[META] Refactor codebase.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
| -rw-r--r-- | NDKKit/Sources/32asm.cxx (renamed from Sources/32asm.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/64asm.cxx (renamed from Sources/64asm.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/64x0-cc.cxx (renamed from Sources/64x0-cc.cxx) | 4 | ||||
| -rw-r--r-- | NDKKit/Sources/AssemblyFactory.cxx (renamed from Sources/AssemblyFactory.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/Detail/ReadMe.md (renamed from Sources/Detail/ReadMe.md) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/Detail/asmutils.hxx (renamed from Sources/Detail/asmutils.hxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/Detail/compilerutils.hxx (renamed from Sources/Detail/compilerutils.hxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/String.cxx (renamed from Sources/String.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/bpp.cxx (renamed from Sources/bpp.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/coff2ae.cxx (renamed from Sources/coff2ae.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/compile_flags.txt (renamed from Sources/compile_flags.txt) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/cplusplus.cxx (renamed from Sources/cplusplus.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/elf2ae.cxx (renamed from Sources/elf2ae.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/i64asm.cxx (renamed from Sources/i64asm.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/link.cxx (renamed from Sources/link.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/power-as.cxx (renamed from Sources/power-as.cxx) | 0 | ||||
| -rw-r--r-- | NDKKit/Sources/power-cc.cxx (renamed from Sources/power-cc.cxx) | 0 | ||||
| -rw-r--r-- | ReadMe.md | 10 | ||||
| -rw-r--r-- | posix.make | 20 | ||||
| -rw-r--r-- | win64.make | 20 |
20 files changed, 27 insertions, 27 deletions
diff --git a/Sources/32asm.cxx b/NDKKit/Sources/32asm.cxx index 23111bc..23111bc 100644 --- a/Sources/32asm.cxx +++ b/NDKKit/Sources/32asm.cxx diff --git a/Sources/64asm.cxx b/NDKKit/Sources/64asm.cxx index 0a92157..0a92157 100644 --- a/Sources/64asm.cxx +++ b/NDKKit/Sources/64asm.cxx diff --git a/Sources/64x0-cc.cxx b/NDKKit/Sources/64x0-cc.cxx index 4adf7f8..19d995d 100644 --- a/Sources/64x0-cc.cxx +++ b/NDKKit/Sources/64x0-cc.cxx @@ -7,8 +7,8 @@ * ======================================================== */ -/// BUGS: ? -/// TODO: +/// BUGS: 0 +/// TODO: none #include <NDKKit/AsmKit/CPU/64x0.hpp> #include <NDKKit/Parser.hpp> diff --git a/Sources/AssemblyFactory.cxx b/NDKKit/Sources/AssemblyFactory.cxx index 9f1b768..9f1b768 100644 --- a/Sources/AssemblyFactory.cxx +++ b/NDKKit/Sources/AssemblyFactory.cxx diff --git a/Sources/Detail/ReadMe.md b/NDKKit/Sources/Detail/ReadMe.md index e9d0a2c..e9d0a2c 100644 --- a/Sources/Detail/ReadMe.md +++ b/NDKKit/Sources/Detail/ReadMe.md diff --git a/Sources/Detail/asmutils.hxx b/NDKKit/Sources/Detail/asmutils.hxx index abb7f82..abb7f82 100644 --- a/Sources/Detail/asmutils.hxx +++ b/NDKKit/Sources/Detail/asmutils.hxx diff --git a/Sources/Detail/compilerutils.hxx b/NDKKit/Sources/Detail/compilerutils.hxx index fd2b6d2..fd2b6d2 100644 --- a/Sources/Detail/compilerutils.hxx +++ b/NDKKit/Sources/Detail/compilerutils.hxx diff --git a/Sources/String.cxx b/NDKKit/Sources/String.cxx index f69f9b9..f69f9b9 100644 --- a/Sources/String.cxx +++ b/NDKKit/Sources/String.cxx diff --git a/Sources/bpp.cxx b/NDKKit/Sources/bpp.cxx index 9a2943c..9a2943c 100644 --- a/Sources/bpp.cxx +++ b/NDKKit/Sources/bpp.cxx diff --git a/Sources/coff2ae.cxx b/NDKKit/Sources/coff2ae.cxx index c9ea8c0..c9ea8c0 100644 --- a/Sources/coff2ae.cxx +++ b/NDKKit/Sources/coff2ae.cxx diff --git a/Sources/compile_flags.txt b/NDKKit/Sources/compile_flags.txt index 6ec6b8a..6ec6b8a 100644 --- a/Sources/compile_flags.txt +++ b/NDKKit/Sources/compile_flags.txt diff --git a/Sources/cplusplus.cxx b/NDKKit/Sources/cplusplus.cxx index ae4a300..ae4a300 100644 --- a/Sources/cplusplus.cxx +++ b/NDKKit/Sources/cplusplus.cxx diff --git a/Sources/elf2ae.cxx b/NDKKit/Sources/elf2ae.cxx index 451c706..451c706 100644 --- a/Sources/elf2ae.cxx +++ b/NDKKit/Sources/elf2ae.cxx diff --git a/Sources/i64asm.cxx b/NDKKit/Sources/i64asm.cxx index ed77988..ed77988 100644 --- a/Sources/i64asm.cxx +++ b/NDKKit/Sources/i64asm.cxx diff --git a/Sources/link.cxx b/NDKKit/Sources/link.cxx index d59c982..d59c982 100644 --- a/Sources/link.cxx +++ b/NDKKit/Sources/link.cxx diff --git a/Sources/power-as.cxx b/NDKKit/Sources/power-as.cxx index 8a6b7ef..8a6b7ef 100644 --- a/Sources/power-as.cxx +++ b/NDKKit/Sources/power-as.cxx diff --git a/Sources/power-cc.cxx b/NDKKit/Sources/power-cc.cxx index 4c07a04..4c07a04 100644 --- a/Sources/power-cc.cxx +++ b/NDKKit/Sources/power-cc.cxx @@ -1,16 +1,16 @@ -# NDK C++ SDK for ZKA. +# NDKKit, C++ SDK for ZKA. -## Installing +## Installing: -Start by cloning the repo: +Start by cloning the repo. ``` git clone git@bitbucket.org:mahrouss/codetools.git ``` -## Running makefiles +## Running makefiles: -And then: +And then run the makefile according to your platform. ``` make -f <platform>.make all @@ -7,42 +7,42 @@ # ======================================================== # -COMMON_INC=-I./NDKKit -I./ -I./Sources/Detail +COMMON_INC=-I./NDKKit -I./ -I./NDKKit/Sources/Detail LINK_CC=clang++ -std=c++20 -LINK_SRC=Sources/link.cxx +LINK_SRC=NDKKit/Sources/link.cxx LINK_OUTPUT=Output/link LINK_ALT_OUTPUT=Output/64link LINK_ALT_3_OUTPUT=Output/i64link LINK_ALT_2_OUTPUT=Output/32link LINK_ALT_4_OUTPUT=Output/ppclink -PP_SRC=Sources/bpp.cxx +PP_SRC=NDKKit/Sources/bpp.cxx PP_OUTPUT=Output/bpp -SRC_COMMON=Sources/String.cxx Sources/AssemblyFactory.cxx +SRC_COMMON=NDKKit/Sources/String.cxx NDKKit/Sources/AssemblyFactory.cxx # C++ Compiler (AMD64) -AMD64_CXX_SRC=Sources/cplusplus.cxx $(SRC_COMMON) +AMD64_CXX_SRC=NDKKit/Sources/cplusplus.cxx $(SRC_COMMON) AMD64_CXX_OUTPUT=Output/cplusplus # C Compiler (POWER) -64X0_CC_SRC=Sources/64x0-cc.cxx $(SRC_COMMON) +64X0_CC_SRC=NDKKit/Sources/64x0-cc.cxx $(SRC_COMMON) 64X0_CC_OUTPUT=Output/64x0-cc # C Compiler (Our own RISC) -PPC_CC_SRC=Sources/power-cc.cxx $(SRC_COMMON) +PPC_CC_SRC=NDKKit/Sources/power-cc.cxx $(SRC_COMMON) PPC_CC_OUTPUT=Output/power-cc # 64x0 Assembler (Our Own RISC) -ASM_SRC=Sources/64asm.cxx $(SRC_COMMON) +ASM_SRC=NDKKit/Sources/64asm.cxx $(SRC_COMMON) ASM_OUTPUT=Output/64asm # AMD64 Assembler (Intel CISC) -IASM_SRC=Sources/i64asm.cxx $(SRC_COMMON) +IASM_SRC=NDKKit/Sources/i64asm.cxx $(SRC_COMMON) IASM_OUTPUT=Output/i64asm # Power4 Assembler (IBM RISC) -PPCASM_SRC=Sources/power-as.cxx $(SRC_COMMON) +PPCASM_SRC=NDKKit/Sources/power-as.cxx $(SRC_COMMON) PPCASM_OUTPUT=Output/power-as .PHONY: all @@ -7,41 +7,41 @@ # ======================================================== # -COMMON_INC=-I./NDKKit -I./ -I./Sources/Detail +COMMON_INC=-I./NDKKit -I./ -I./NDKKit/Sources/Detail LINK_CC=clang++ -std=c++20 -Xlinker -s -LINK_SRC=Sources/link.cxx +LINK_SRC=NDKKit/Sources/link.cxx LINK_OUTPUT=Output/link.exe LINK_ALT_OUTPUT=Output/64link.exe LINK_ALT_3_OUTPUT=Output/i64link.exe LINK_ALT_2_OUTPUT=Output/32link.exe -PP_SRC=Sources/bpp.cxx +PP_SRC=NDKKit/Sources/bpp.cxx PP_OUTPUT=Output/bpp.exe -SRC_COMMON=Sources/String.cxx Sources/AssemblyFactory.cxx +SRC_COMMON=NDKKit/Sources/String.cxx NDKKit/Sources/AssemblyFactory.cxx # C++ Compiler (AMD64) -AMD64_CXX_SRC=Sources/cplusplus.cxx $(SRC_COMMON) +AMD64_CXX_SRC=NDKKit/Sources/cplusplus.cxx $(SRC_COMMON) AMD64_CXX_OUTPUT=Output/cplusplus.exe # C Compiler (POWER) -64X0_CC_SRC=Sources/64x0-cc.cxx $(SRC_COMMON) +64X0_CC_SRC=NDKKit/Sources/64x0-cc.cxx $(SRC_COMMON) 64X0_CC_OUTPUT=Output/64x0-cc.exe # C Compiler -PPC_CC_SRC=Sources/power-cc.cxx $(SRC_COMMON) +PPC_CC_SRC=NDKKit/Sources/power-cc.cxx $(SRC_COMMON) PPC_CC_OUTPUT=Output/power-cc.exe # 64x0 Assembler -ASM_SRC=Sources/64asm.cxx $(SRC_COMMON) +ASM_SRC=NDKKit/Sources/64asm.cxx $(SRC_COMMON) ASM_OUTPUT=Output/64asm.exe # AMD64 Assembler -IASM_SRC=Sources/i64asm.cxx $(SRC_COMMON) +IASM_SRC=NDKKit/Sources/i64asm.cxx $(SRC_COMMON) IASM_OUTPUT=Output/i64asm.exe # POWER Assembler -PPCASM_SRC=Sources/power-as.cxx $(SRC_COMMON) +PPCASM_SRC=NDKKit/Sources/power-as.cxx $(SRC_COMMON) PPCASM_OUTPUT=Output/power-as.exe .PHONY: all |
