aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-03-11 10:26:02 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-03-11 10:26:02 -0500
commit400e277b0c111739ea4ed426328cbcc4472744df (patch)
tree5b32bd7d5820d6cdc16838dac14ca616bd44dc5a
parente41b124320011cb1451f9869710a110058ee95aa (diff)
make forth and msp430 folders
-rw-r--r--Makefile14
-rw-r--r--forth/core-ext.fth (renamed from core-ext.fth)0
-rw-r--r--forth/core.fth (renamed from core.fth)0
-rw-r--r--forth/test/core.fr (renamed from test/core.fr)0
-rw-r--r--forth/test/tester.fr (renamed from test/tester.fr)0
-rw-r--r--msp430/alee-msp430.cpp (renamed from alee-msp430.cpp)0
-rw-r--r--msp430/msp430g2553.ld (renamed from msp430g2553.ld)0
7 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 04dbefd..d8c11ba 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,8 @@ msp430: CXX := msp430-elf32-g++
msp430: AR := msp430-elf32-gcc-ar
msp430: CXXFLAGS += -Os -mmcu=msp430g2553 -ffunction-sections -fdata-sections
msp430: CXXFLAGS += -DMEMDICTSIZE=200 -flto
-msp430: LDFLAGS += -L/opt/msp430-elf32/include -Tmsp430g2553.ld -Wl,-gc-sections
-msp430: clean-lib alee-msp430
+msp430: LDFLAGS += -L/opt/msp430-elf32/include -Tmsp430/msp430g2553.ld -Wl,-gc-sections
+msp430: clean-lib msp430/alee-msp430
small: CXXFLAGS += -Os
small: alee
@@ -24,7 +24,7 @@ fast: alee
standalone: core.fth.h alee-standalone
alee: $(LIBFILE)
-alee-msp430: $(LIBFILE)
+msp430/alee-msp430: $(LIBFILE)
alee-standalone: $(LIBFILE)
cppcheck:
@@ -32,7 +32,7 @@ cppcheck:
libalee alee*.cpp *dict.hpp
test: standalone
- echo "\nbye\n" | ./alee-standalone core-ext.fth test/tester.fr test/core.fr
+ echo "\nbye\n" | ./alee-standalone forth/core-ext.fth forth/test/tester.fr forth/test/core.fr
$(LIBFILE): $(OBJFILES)
$(AR) crs $@ $(OBJFILES)
@@ -41,11 +41,11 @@ core.fth.h: alee.dat
xxd -i $< > $@
sed -i "s/unsigned /static const &/" $@
-alee.dat: alee core.fth
- echo "2 sys" | ./alee core.fth
+alee.dat: alee forth/core.fth
+ echo "2 sys" | ./alee forth/core.fth
clean: clean-lib
- rm -f alee alee-msp430 alee-standalone
+ rm -f alee alee-standalone msp430/alee-msp430
rm -f alee.dat core.fth.h
clean-lib:
diff --git a/core-ext.fth b/forth/core-ext.fth
index e1f7eac..e1f7eac 100644
--- a/core-ext.fth
+++ b/forth/core-ext.fth
diff --git a/core.fth b/forth/core.fth
index a8ccb9d..a8ccb9d 100644
--- a/core.fth
+++ b/forth/core.fth
diff --git a/test/core.fr b/forth/test/core.fr
index 2d8b8e4..2d8b8e4 100644
--- a/test/core.fr
+++ b/forth/test/core.fr
diff --git a/test/tester.fr b/forth/test/tester.fr
index 2cf108d..2cf108d 100644
--- a/test/tester.fr
+++ b/forth/test/tester.fr
diff --git a/alee-msp430.cpp b/msp430/alee-msp430.cpp
index ca00026..ca00026 100644
--- a/alee-msp430.cpp
+++ b/msp430/alee-msp430.cpp
diff --git a/msp430g2553.ld b/msp430/msp430g2553.ld
index 0845667..0845667 100644
--- a/msp430g2553.ld
+++ b/msp430/msp430g2553.ld