summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--asm/intel64/encode.cpp (renamed from asm/encode.cpp)0
-rw-r--r--asm/intel64/encode.h (renamed from asm/encode.h)2
-rw-r--r--cpp.cpp2
4 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index de84081..db3c1bb 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,6 @@ endif
PROGSRC=\
asm/assembler.cpp \
asm/chunk.cpp \
- asm/encode.cpp \
asm/intel64/add.cpp \
asm/intel64/inc.cpp \
asm/intel64/int.cpp \
@@ -57,6 +56,7 @@ PROGSRC=\
asm/intel64/ret.cpp \
asm/intel64/xor.cpp \
asm/intel64/codes.cpp \
+ asm/intel64/encode.cpp \
asm/operators.cpp \
asm/segment.cpp \
bnf.cpp \
diff --git a/asm/encode.cpp b/asm/intel64/encode.cpp
index 8bf33c0..8bf33c0 100644
--- a/asm/encode.cpp
+++ b/asm/intel64/encode.cpp
diff --git a/asm/encode.h b/asm/intel64/encode.h
index d9e5674..7fd23d6 100644
--- a/asm/encode.h
+++ b/asm/intel64/encode.h
@@ -2,8 +2,8 @@
#pragma once
+#include "asm/segment.h"
#include "flowgraph/graph.h"
-#include "segment.h"
namespace Asm {
diff --git a/cpp.cpp b/cpp.cpp
index c8de4c8..e4d935a 100644
--- a/cpp.cpp
+++ b/cpp.cpp
@@ -1,6 +1,6 @@
#include "cpp.h"
-#include "asm/encode.h"
+#include "asm/intel64/encode.h"
#include "asm/operators.h"
#include "bnf.h"
#include "cppbnf.h"