mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 20:28:06 +11:00
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 > $@
|
||||
|
||||
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
|
||||
$(CC) -DFBIN_PATH=\"`pwd`/forth.bin\" -c -o vm.o vm.c
|
||||
|
@ -5,8 +5,7 @@ to run natively on any POSIX environment.
|
||||
|
||||
## Requirements
|
||||
|
||||
You need `ncurses` to build the `forth` executable. In debian-based distros,
|
||||
it's `libncurses5-dev`.
|
||||
You need `curses` to build the `forth` executable.
|
||||
|
||||
## Build
|
||||
|
||||
|
@ -8,13 +8,13 @@ BLKFS = $(CDIR)/blkfs
|
||||
all: $(TARGETS)
|
||||
|
||||
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)
|
||||
$(CDIR)/stage < xcomp.fs > $@
|
||||
|
||||
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)
|
||||
|
||||
|
@ -11,8 +11,7 @@ it only cover Collapse OS' own needs.
|
||||
|
||||
## Requirements
|
||||
|
||||
You need `ncurses` to build the `forth` executable. In debian-based distros,
|
||||
it's `libncurses5-dev`.
|
||||
You need `curses` to build the `forth` executable.
|
||||
|
||||
## Build
|
||||
|
||||
|
@ -11,7 +11,7 @@ BLKFS = $(CDIR)/blkfs
|
||||
all: $(TARGETS)
|
||||
|
||||
forth: forth.c $(OBJS) $(BLKFS)
|
||||
$(CC) forth.c $(OBJS) -lncurses -o $@
|
||||
$(CC) forth.c $(OBJS) -lcurses -o $@
|
||||
|
||||
rc2014: rc2014.c $(RC2014_OBJS)
|
||||
$(CC) rc2014.c $(RC2014_OBJS) -o $@
|
||||
|
@ -5,8 +5,7 @@ emulator.
|
||||
|
||||
## Requirements
|
||||
|
||||
You need `ncurses` to build the `forth` executable. In debian-based distros,
|
||||
it's `libncurses5-dev`.
|
||||
You need `curses` to build the `forth` executable.
|
||||
|
||||
For `sms` and `ti84` emulators, you need XCB and pkg-config.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user