summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2024-03-24 01:41:07 +0300
committerOxore <oxore@protonmail.com>2024-11-21 00:18:24 +0300
commite6cea752f051b68ff92b387c5684cf1a36782af7 (patch)
tree6c6141a716da0e849462a5914d525b575d253e33
parent85cf4b210c1c2d72984441144f29d1aa6a794030 (diff)
Rename `disasm.(cpp|h)` into `m68k.(cpp|h)`
-rw-r--r--CMakeLists.txt2
-rw-r--r--Makefile5
-rw-r--r--src/m68k.cpp (renamed from src/disasm.cpp)2
-rw-r--r--src/m68k.h (renamed from src/disasm.h)0
-rw-r--r--src/main.cpp2
5 files changed, 7 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a778958..71863ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ set(common_debug_flags
add_executable(m68k-disasm
src/main.cpp
src/data_buffer.cpp
- src/disasm.cpp
+ src/m68k.cpp
src/elf_image.cpp
)
diff --git a/Makefile b/Makefile
index 245bf54..6a305b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
# SPDX-License-Identifier: Unlicense
+# This Makefile exist for compile time measurements only.
+# Use CMakeLists.txt if you want to build the project.
+
WARNFLAGS = -Wall -Wextra -pedantic -Wlogical-op
OPTFLAGS = -O2
ARCHFLAGS =
@@ -12,7 +15,7 @@ _LDFLAGS = $(LDFLAGS) $(OPTFLAGS) $(addprefix -T,$(LDSCRIPTS))
OBJECTS=main.o \
data_buffer.o \
elf_image.o \
- disasm.o
+ m68k.o
.PHONY: all
all: m68k-disasm
diff --git a/src/disasm.cpp b/src/m68k.cpp
index 3a27400..254c898 100644
--- a/src/disasm.cpp
+++ b/src/m68k.cpp
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: Unlicense
*/
-#include "disasm.h"
+#include "m68k.h"
#include "data_buffer.h"
#include "common.h"
diff --git a/src/disasm.h b/src/m68k.h
index 65429dc..65429dc 100644
--- a/src/disasm.h
+++ b/src/m68k.h
diff --git a/src/main.cpp b/src/main.cpp
index 8b6412b..5fd86b9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3,7 +3,7 @@
#include "elf_image.h"
#include "data_buffer.h"
-#include "disasm.h"
+#include "m68k.h"
#include "common.h"
#define OPTPARSE_IMPLEMENTATION