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 \
|
system.o ctlmod.o \
|
||||||
find.o inter.o
|
find.o inter.o
|
||||||
|
|
||||||
LDFLAGS = -lncurses -lcrypt
|
LDFLAGS = $(shell pkg-config --libs ncurses)
|
||||||
|
|
||||||
default: rogue
|
default: rogue
|
||||||
|
|
||||||
rogue: $(OBJS)
|
rogue: $(OBJS)
|
||||||
$(CC) -o $@ $(LDFLAGS) $^
|
$(CC) -o $@ $^ $(LDFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJS) rogue
|
rm -f $(OBJS) rogue
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <string.h>
|
||||||
#include "netprot.h"
|
#include "netprot.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -269,5 +270,5 @@ show_win(char *message)
|
||||||
clearok(curscr, TRUE);
|
clearok(curscr, TRUE);
|
||||||
#ifdef attron
|
#ifdef attron
|
||||||
touchwin(stdscr);
|
touchwin(stdscr);
|
||||||
#endif attron
|
#endif /* attron */
|
||||||
}
|
}
|
||||||
|
|
2
rmove.c
2
rmove.c
|
@ -387,4 +387,4 @@ struct h_list Helpstr[] = {
|
||||||
|
|
||||||
#ifdef TIOCGLTC
|
#ifdef TIOCGLTC
|
||||||
struct ltchars Ltc; /* needed to change ^Y to not be suspchar */
|
struct ltchars Ltc; /* needed to change ^Y to not be suspchar */
|
||||||
#endif TIOCGLTC
|
#endif /* TIOCGLTC */
|
||||||
|
|
Loading…
Reference in New Issue