fix GNUmakefile
FossilOrigin-Name: aca3107d07d5840f1685a6b8e2e303f6875dc8bb2a15d1b09e82177d2f3cc934
This commit is contained in:
parent
c392a9bfd5
commit
37932113cf
2 changed files with 8 additions and 1 deletions
|
@ -6,6 +6,7 @@ DOCSDIR ?= $(PREFIX)/share/doc/RETRO12
|
|||
EXAMPLESDIR ?= $(PREFIX)/share/examples/RETRO12
|
||||
MANDIR ?= $(PREFIX)/share/man/man1
|
||||
LIBM ?= -lm
|
||||
CFLAGS ?= -O2
|
||||
ENABLED ?=
|
||||
ENABLED += -DENABLE_FLOATS
|
||||
ENABLED += -DENABLE_FILES
|
||||
|
@ -13,6 +14,7 @@ ENABLED += -DENABLE_UNIX
|
|||
ENABLED += -DENABLE_RNG
|
||||
ENABLED += -DENABLE_CLOCK
|
||||
ENABLED += -DENABLE_SCRIPTING
|
||||
ENABLED += -DNEEDS_STRL
|
||||
|
||||
all: build
|
||||
|
||||
|
@ -140,7 +142,7 @@ vm/nga-c/image.c: ngaImage bin/retro-embedimage bin/retro-extend interface/files
|
|||
./bin/retro-embedimage rre.image >vm/nga-c/image.c
|
||||
|
||||
bin/retro: vm/nga-c/image.c vm/nga-c/retro.c package/list.forth package/load-extensions.retro
|
||||
cd vm/nga-c && $(CC) $(OPTIONS) $(ENABLEd) $(CFLAGS) $(LDFLAGS) -o ../../bin/retro retro.c $(LIBM)
|
||||
cd vm/nga-c && $(CC) $(OPTIONS) $(ENABLED) $(CFLAGS) $(LDFLAGS) -o ../../bin/retro retro.c $(LIBM)
|
||||
cd package && ../bin/retro -u rre.image -f list.forth
|
||||
./bin/retro-embedimage rre.image >vm/nga-c/image.c
|
||||
rm rre.image
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
## I/O
|
||||
|
||||
- simplify definition of `c:get`
|
||||
- reduced memory usage of the forth part of the code
|
||||
in most devices
|
||||
|
||||
## Toolchain
|
||||
|
||||
|
@ -26,6 +28,8 @@
|
|||
|
||||
- nga-c
|
||||
|
||||
- single file implementation (runs on unix, windows)
|
||||
- compile time defines for enabling i/o devices
|
||||
- better fix for nested file inclusion handling
|
||||
- removed unused variables
|
||||
- use a struct for processor state, stacks
|
||||
|
@ -44,6 +48,7 @@
|
|||
- refactored retro-locate
|
||||
- file names now using a consistent case/format
|
||||
- added a line oriented text editor
|
||||
- updated amalgamation tool for latest nga-c
|
||||
|
||||
## Documentation
|
||||
|
||||
|
|
Loading…
Reference in a new issue