mirror of https://github.com/nealey/rogue
Got it compiling again, but wow, warnings.
This commit is contained in:
parent
3b36a6aac2
commit
f03844fd26
6
Makefile
6
Makefile
|
@ -5,12 +5,12 @@ OBJS = terminal.o rmove.o network.o netprot.o rwrite.o rread.o \
|
|||
system.o ctlmod.o \
|
||||
find.o inter.o
|
||||
|
||||
LDFLAGS = -lncurses -lcrypt
|
||||
LDFLAGS = $(shell pkg-config --libs ncurses)
|
||||
|
||||
default: rogue
|
||||
|
||||
rogue: $(OBJS)
|
||||
$(CC) -o $@ $(LDFLAGS) $^
|
||||
$(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) rogue
|
||||
rm -f $(OBJS) rogue
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <curses.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include "netprot.h"
|
||||
|
||||
/*
|
||||
|
@ -269,5 +270,5 @@ show_win(char *message)
|
|||
clearok(curscr, TRUE);
|
||||
#ifdef attron
|
||||
touchwin(stdscr);
|
||||
#endif attron
|
||||
#endif /* attron */
|
||||
}
|
||||
|
|
2
rmove.c
2
rmove.c
|
@ -387,4 +387,4 @@ struct h_list Helpstr[] = {
|
|||
|
||||
#ifdef TIOCGLTC
|
||||
struct ltchars Ltc; /* needed to change ^Y to not be suspchar */
|
||||
#endif TIOCGLTC
|
||||
#endif /* TIOCGLTC */
|
||||
|
|
Loading…
Reference in New Issue