Replace datime() with just time().
Also make the 'savetime' value meaningful. This removes a separate library dependency on some systems.
This commit is contained in:
parent
fb8ba08986
commit
d23111daba
4 changed files with 2 additions and 19 deletions
5
Makefile
5
Makefile
|
@ -12,11 +12,6 @@ CCFLAGS+=-std=c99 -D_DEFAULT_SOURCE -DVERSION=\"$(VERS)\" -O2
|
|||
LIBS=$(shell pkg-config --libs libedit)
|
||||
INC+=$(shell pkg-config --cflags libedit)
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
LIBS+=-lrt
|
||||
endif
|
||||
|
||||
OBJS=main.o init.o actions.o score.o misc.o saveresume.o
|
||||
CHEAT_OBJS=cheat.o init.o actions.o score.o misc.o saveresume.o
|
||||
SOURCES=$(OBJS:.o=.c) advent.h adventure.yaml Makefile control make_dungeon.py
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue