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:
Jason S. Ninneman 2017-07-02 09:42:07 -07:00
parent fb8ba08986
commit d23111daba
4 changed files with 2 additions and 19 deletions

View file

@ -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