version 1.7 | | version 1.8 |
---|
| | |
# now, this simple makefile should do the job. | | # now, this simple makefile should do the job. |
# | | # |
# Copyright (C) 1992 Frank Tore Johansen | | # Copyright (C) 1992 Frank Tore Johansen |
# Copyright (C) 1998 Mark Wedel | | # Copyright (C) 2001 Mark Wedel |
# | | # |
# This program is free software; you can redistribute it and/or modify | | # This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by | | # it under the terms of the GNU General Public License as published by |
| | |
# along with this program; if not, write to the Free Software | | # along with this program; if not, write to the Free Software |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
# | | # |
# The author can be reached via e-mail to mark@pyramid.com | | # The author can be reached via e-mail to mwedel@scruz.net |
| | |
| | |
VPATH = @srcdir@ | | VPATH = @srcdir@ |
| | |
daemon.c\ | | daemon.c\ |
disease.c\ | | disease.c\ |
egoitem.c \ | | egoitem.c \ |
encounter.c\ | | |
hiscore.c\ | | hiscore.c\ |
gods.c\ | | gods.c\ |
init.c\ | | init.c\ |
| | |
$(DEPEND) $(DEPENDFLAGS) -- $(CFLAGS) $(INCLUDES) -I../include -- $(SRCS) | | $(DEPEND) $(DEPENDFLAGS) -- $(CFLAGS) $(INCLUDES) -I../include -- $(SRCS) |
| | |
proto: | | proto: |
cextract +p -P $(INCLUDES) \ | | cproto -D__CEXTRACT__ $(INCLUDES) \ |
$(SRCS) >../include/sproto.h.bak | | $(SRCS) >../include/sproto.h |
$(SED) -e "s/#if __STDC__/#ifdef __STDC__/" -e "s/__signed/signed/g" -e "/__inline/d" < ../include/sproto.h.bak > ../include/sproto.h | | |
chmod 644 ../include/sproto.h | | chmod 644 ../include/sproto.h |
$(RM) -f ../include/sproto.h.bak | | |
| | |
archive: | | archive: |
@if [ ! -d $(ARCHIVE)/server ]; then $(MKDIR) $(ARCHIVE)/server; fi | | @if [ ! -d $(ARCHIVE)/server ]; then $(MKDIR) $(ARCHIVE)/server; fi |