aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-03-08 19:57:26 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-03-08 19:57:26 -0500
commitdcd5e792b1d84afd1bea9780781674b6e6ad8dc3 (patch)
tree6b841cd741c3d8df6cb7b22f1423a5c814e0add9
parent1960aa8773e51a76f0a5a653c8a4eb4fbef5e4ba (diff)
move libalee into folder
-rw-r--r--Makefile4
-rw-r--r--alee.hpp4
-rw-r--r--libalee/corewords.cpp (renamed from corewords.cpp)0
-rw-r--r--libalee/corewords.hpp (renamed from corewords.hpp)0
-rw-r--r--libalee/dictionary.cpp (renamed from dictionary.cpp)0
-rw-r--r--libalee/dictionary.hpp (renamed from dictionary.hpp)0
-rw-r--r--libalee/parser.cpp (renamed from parser.cpp)0
-rw-r--r--libalee/parser.hpp (renamed from parser.hpp)0
-rw-r--r--libalee/state.cpp (renamed from state.cpp)0
-rw-r--r--libalee/state.hpp (renamed from state.hpp)0
-rw-r--r--libalee/types.hpp (renamed from types.hpp)0
-rw-r--r--memdict.hpp2
-rw-r--r--splitmemdict.hpp2
13 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 86df6a6..5e75d76 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,9 @@ CXXFLAGS += -std=c++17 -g3 -ggdb -O0 \
-Wall -Wextra -pedantic -Werror \
-fno-exceptions -fno-rtti #-fstack-usage
-CXXFILES := corewords.cpp dictionary.cpp parser.cpp state.cpp
+CXXFILES := $(wildcard libalee/*.cpp)
OBJFILES := $(subst .cpp,.o,$(CXXFILES))
-LIBFILE := libalee.a
+LIBFILE := libalee/libalee.a
all: alee
diff --git a/alee.hpp b/alee.hpp
index f091cf8..87991bb 100644
--- a/alee.hpp
+++ b/alee.hpp
@@ -1,3 +1,3 @@
-#include "parser.hpp"
-#include "state.hpp"
+#include "libalee/parser.hpp"
+#include "libalee/state.hpp"
diff --git a/corewords.cpp b/libalee/corewords.cpp
index 4de9413..4de9413 100644
--- a/corewords.cpp
+++ b/libalee/corewords.cpp
diff --git a/corewords.hpp b/libalee/corewords.hpp
index 21a0951..21a0951 100644
--- a/corewords.hpp
+++ b/libalee/corewords.hpp
diff --git a/dictionary.cpp b/libalee/dictionary.cpp
index 48230c4..48230c4 100644
--- a/dictionary.cpp
+++ b/libalee/dictionary.cpp
diff --git a/dictionary.hpp b/libalee/dictionary.hpp
index 4dcae77..4dcae77 100644
--- a/dictionary.hpp
+++ b/libalee/dictionary.hpp
diff --git a/parser.cpp b/libalee/parser.cpp
index 44b5cec..44b5cec 100644
--- a/parser.cpp
+++ b/libalee/parser.cpp
diff --git a/parser.hpp b/libalee/parser.hpp
index 4b14d64..4b14d64 100644
--- a/parser.hpp
+++ b/libalee/parser.hpp
diff --git a/state.cpp b/libalee/state.cpp
index ea6c601..ea6c601 100644
--- a/state.cpp
+++ b/libalee/state.cpp
diff --git a/state.hpp b/libalee/state.hpp
index 28396dc..28396dc 100644
--- a/state.hpp
+++ b/libalee/state.hpp
diff --git a/types.hpp b/libalee/types.hpp
index 530ff4f..530ff4f 100644
--- a/types.hpp
+++ b/libalee/types.hpp
diff --git a/memdict.hpp b/memdict.hpp
index c8ccce0..398af0f 100644
--- a/memdict.hpp
+++ b/memdict.hpp
@@ -19,7 +19,7 @@
#ifndef ALEEFORTH_MEMDICT_HPP
#define ALEEFORTH_MEMDICT_HPP
-#include "dictionary.hpp"
+#include "alee.hpp"
#ifndef MEMDICTSIZE
#define MEMDICTSIZE (65536)
diff --git a/splitmemdict.hpp b/splitmemdict.hpp
index 083ce53..6631947 100644
--- a/splitmemdict.hpp
+++ b/splitmemdict.hpp
@@ -19,7 +19,7 @@
#ifndef ALEEFORTH_SPLITMEMDICT_HPP
#define ALEEFORTH_SPLITMEMDICT_HPP
-#include "dictionary.hpp"
+#include "alee.hpp"
#include <cstring>