2 # Empire - A multi-player, client/server Internet based war game.
3 # Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 # Ken Stevens, Steve McClure
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 # See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
23 # related information and legal notices. It is expected that any future
24 # projects/authors will amend these files as needed.
27 # Empire front end Makefile
31 CFILES = expect.c globals.c handle.c host.c \
32 ioqueue.c ipglob.c login.c main.c queue.c saveargv.c \
33 servcmd.c serverio.c tags.c termio.c termlib.c
34 OFILES = expect.o globals.o handle.o host.o \
35 ioqueue.o ipglob.o login.o main.o queue.o saveargv.o \
36 servcmd.o serverio.o tags.o termio.o termlib.o
37 OBJFILES = expect.obj globals.obj handle.obj host.obj \
38 ioqueue.obj ipglob.obj login.obj main.obj queue.obj saveargv.obj \
39 servcmd.obj serverio.obj tags.obj termio.obj termlib.obj
45 # Change this line to the compiler you are going to use.
50 $(CC) -o empire $(OFILES) $(LIBS)
53 $(CC) -o empire $(OFILES) -lcurses
56 cl /DWIN32 /Feempire.exe $(CFILES) wsock32.lib
59 $(CC) $(CFLAGS) -dn -o empire $(OFILES) -lsocket -lnsl -ltermcap -lc
62 make empire LIBS="-lsocket -lnsl -ltermcap -lc"
65 make empire LIBS=-ltermcap
68 -(rm -f $(OFILES) empire)
72 expect.o: misc.h fnlist.h
73 globals.o: misc.h fnlist.h proto.h
76 ioqueue.o: misc.h queue.h ioqueue.h
78 login.o: misc.h proto.h
79 main.o: misc.h proto.h queue.h ioqueue.h tags.h
80 queue.o: misc.h queue.h
82 servcmd.o: misc.h proto.h queue.h ioqueue.h tags.h
83 serverio.o: misc.h queue.h ioqueue.h
85 termio.o: misc.h tags.h