]> git.pond.sub.org Git - empserver/blob - src/client/Makefile.standalone
Update copyright notice.
[empserver] / src / client / Makefile.standalone
1
2 #   Empire - A multi-player, client/server Internet based war game.
3 #   Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 #                            Ken Stevens, Steve McClure
5
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.
10
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.
15
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
19
20 #   ---
21
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.
25
26 #
27 # Empire front end Makefile
28 # (standalone mode)
29 #
30
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
40
41 CFLAGS= -g
42 LIBS= -ltermlib
43
44 #
45 # Change this line to the compiler you are going to use.
46 #
47 CC=cc
48
49 empire: $(OFILES) 
50         $(CC) -o empire $(OFILES) $(LIBS)
51
52 linux: $(OFILES) 
53         $(CC) -o empire $(OFILES) -lcurses
54
55 nt:
56         cl /DWIN32 /Feempire.exe $(CFILES) wsock32.lib
57
58 dgux: $(OFILES) 
59         $(CC) $(CFLAGS) -dn -o empire $(OFILES) -lsocket -lnsl -ltermcap -lc
60
61 solaris:
62         make empire LIBS="-lsocket -lnsl -ltermcap -lc"
63
64 hpux:
65         make empire LIBS=-ltermcap
66
67 clean:
68         -(rm -f $(OFILES) empire)
69         -(del /q $(OBJFILES))
70         -(del /q empire.exe)
71
72 expect.o: misc.h fnlist.h
73 globals.o: misc.h fnlist.h proto.h
74 handle.o: misc.h
75 host.o: misc.h
76 ioqueue.o: misc.h queue.h ioqueue.h
77 ipglob.o: misc.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
81 saveargv.o: misc.h
82 servcmd.o: misc.h proto.h queue.h ioqueue.h tags.h
83 serverio.o: misc.h queue.h ioqueue.h
84 tags.o: misc.h tags.h
85 termio.o: misc.h tags.h
86 termlib.o: misc.h