Fix ncurses implementation
modified: Makefile modified: NCURSES.md
This commit is contained in:
parent
1440337579
commit
61f1f6cfc4
4
Makefile
4
Makefile
@ -28,10 +28,10 @@ all: nms sneakers
|
||||
all-ncurses: nms-ncurses sneakers-ncurses
|
||||
|
||||
nms-ncurses: $(OBJ)/input.o $(OBJ)/error.o $(OBJ)/nmscharset.o $(OBJ)/nmstermio_ncurses.o $(OBJ)/nmseffect.o $(OBJ)/nms.o | $(BIN)
|
||||
$(CC) $(CFLAGS) -o $(BIN)/nms $^ -lncurses
|
||||
$(CC) $(CFLAGS) -o $(BIN)/nms $^ -lncursesw
|
||||
|
||||
sneakers-ncurses: $(OBJ)/nmscharset.o $(OBJ)/nmstermio_ncurses.o $(OBJ)/nmseffect.o $(OBJ)/sneakers.o | $(BIN)
|
||||
$(CC) $(CFLAGS) -o $(BIN)/sneakers $^ -lncurses
|
||||
$(CC) $(CFLAGS) -o $(BIN)/sneakers $^ -lncursesw
|
||||
|
||||
$(OBJ)/%.o: $(SRC)/%.c | $(OBJ)
|
||||
$(CC) $(CFLAGS) -o $@ -c $<
|
||||
|
@ -8,7 +8,7 @@ operating systems.
|
||||
|
||||
```
|
||||
sudo apt-get update
|
||||
sudo apt-get install lib32ncurses5-dev
|
||||
sudo apt-get install lib32ncursesw5-dev
|
||||
```
|
||||
|
||||
#### Fedora Linux
|
||||
|
Loading…
Reference in New Issue
Block a user