emul+cvm: link to curses instead of ncurses
NetBSD doesn't have ncurses. Linking to curses doesn't seem to change anything. Tried on OpenBSD and Ubuntu.
This commit is contained in:
parent
0a26acfee6
commit
6cb310c38c
@ -19,7 +19,7 @@ blkfs: $(BLKPACK)
|
|||||||
$(BLKPACK) ../blk > $@
|
$(BLKPACK) ../blk > $@
|
||||||
|
|
||||||
forth: forth.c $(OBJS)
|
forth: forth.c $(OBJS)
|
||||||
$(CC) -DBLKFS_PATH=\"`pwd`/blkfs\" forth.c $(OBJS) -lncurses -o $@
|
$(CC) -DBLKFS_PATH=\"`pwd`/blkfs\" forth.c $(OBJS) -lcurses -o $@
|
||||||
|
|
||||||
vm.o: vm.c blkfs
|
vm.o: vm.c blkfs
|
||||||
$(CC) -DFBIN_PATH=\"`pwd`/forth.bin\" -c -o vm.o vm.c
|
$(CC) -DFBIN_PATH=\"`pwd`/forth.bin\" -c -o vm.o vm.c
|
||||||
|
@ -5,8 +5,7 @@ to run natively on any POSIX environment.
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
You need `ncurses` to build the `forth` executable. In debian-based distros,
|
You need `curses` to build the `forth` executable.
|
||||||
it's `libncurses5-dev`.
|
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
|
@ -8,13 +8,13 @@ BLKFS = $(CDIR)/blkfs
|
|||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
forth: forth.c forth.bin $(OBJS) $(BLKFS)
|
forth: forth.c forth.bin $(OBJS) $(BLKFS)
|
||||||
$(CC) -DFBIN_PATH=\"`pwd`/forth.bin\" -DBLKFS_PATH=\"`pwd`/$(BLKFS)\" forth.c $(OBJS) -lncurses -o $@
|
$(CC) -DFBIN_PATH=\"`pwd`/forth.bin\" -DBLKFS_PATH=\"`pwd`/$(BLKFS)\" forth.c $(OBJS) -lcurses -o $@
|
||||||
|
|
||||||
forth.bin: xcomp.fs $(STAGE)
|
forth.bin: xcomp.fs $(STAGE)
|
||||||
$(CDIR)/stage < xcomp.fs > $@
|
$(CDIR)/stage < xcomp.fs > $@
|
||||||
|
|
||||||
pcat: pcat.c $(OBJS) $(BLKFS)
|
pcat: pcat.c $(OBJS) $(BLKFS)
|
||||||
$(CC) -DBLKFS_PATH=\"`pwd`/$(BLKFS)\" pcat.c $(OBJS) -lncurses -o $@
|
$(CC) -DBLKFS_PATH=\"`pwd`/$(BLKFS)\" pcat.c $(OBJS) -lcurses -o $@
|
||||||
|
|
||||||
$(BLKFS): $(STAGE)
|
$(BLKFS): $(STAGE)
|
||||||
|
|
||||||
|
@ -11,8 +11,7 @@ it only cover Collapse OS' own needs.
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
You need `ncurses` to build the `forth` executable. In debian-based distros,
|
You need `curses` to build the `forth` executable.
|
||||||
it's `libncurses5-dev`.
|
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ BLKFS = $(CDIR)/blkfs
|
|||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
forth: forth.c $(OBJS) $(BLKFS)
|
forth: forth.c $(OBJS) $(BLKFS)
|
||||||
$(CC) forth.c $(OBJS) -lncurses -o $@
|
$(CC) forth.c $(OBJS) -lcurses -o $@
|
||||||
|
|
||||||
rc2014: rc2014.c $(RC2014_OBJS)
|
rc2014: rc2014.c $(RC2014_OBJS)
|
||||||
$(CC) rc2014.c $(RC2014_OBJS) -o $@
|
$(CC) rc2014.c $(RC2014_OBJS) -o $@
|
||||||
|
@ -5,8 +5,7 @@ emulator.
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
You need `ncurses` to build the `forth` executable. In debian-based distros,
|
You need `curses` to build the `forth` executable.
|
||||||
it's `libncurses5-dev`.
|
|
||||||
|
|
||||||
For `sms` and `ti84` emulators, you need XCB and pkg-config.
|
For `sms` and `ti84` emulators, you need XCB and pkg-config.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user