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 include ../../build.conf
35 CFILES = expect.c globals.c handle.c host.c \
36 ioqueue.c ipglob.c login.c main.c queue.c saveargv.c \
37 servcmd.c serverio.c tags.c termio.c termlib.c
38 OFILES = expect.o globals.o handle.o host.o \
39 ioqueue.o ipglob.o login.o main.o queue.o saveargv.o \
40 servcmd.o serverio.o tags.o termio.o termlib.o
41 OBJFILES = expect.obj globals.obj handle.obj host.obj \
42 ioqueue.obj ipglob.obj login.obj main.obj queue.obj saveargv.obj \
43 servcmd.obj serverio.obj tags.obj termio.obj termlib.obj
48 # Change this line to the compiler you are going to use.
56 $(CC) -o emp_client $(OFILES) $(LFLAGS) $(CLIENTLIBS) -lc
60 emp_client.exe: $(OBJFILES) $(CFILES)
61 link /OUT:emp_client.exe \
62 /PDB:emp_client.pdb /NOLOGO \
63 /NOD /DEBUG:full /DEBUGTYPE:cv /MACHINE:IX86 /NOLOGO \
70 # cl /D_WIN32 /Feemp_client.exe $(CFILES) wsock32.lib
73 $(CC) $(CFLAGS) -dn -o emp_client $(OFILES) -lsocket -lnsl -ltermcap -lc
76 $(MAKE) emp_client CLIENTLIBS="-lsocket -lnsl -ltermcap -lc"
79 $(MAKE) emp_client CLIENTLIBS=-ltermcap
85 -(del /q emp_client.exe)
86 -(del /q emp_client.ilk)
87 -(del /q emp_client.pdb)
90 -(mkdir $(EMPDIR)/bin)
91 cp emp_client $(EMPDIR)/bin
94 -(mkdir $(NTINSTDIR)\bin)
95 copy emp_client.exe $(NTINSTDIR)\bin