diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-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.cpp | 2 |
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 ) @@ -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 |