1#  irixMakefile for LinCity
2#  Thanks to Frederic.Roussel@eng.efi.com (Frederic Roussel)
3
4#  DO NOT INVOKE THIS FILE DIRECTLY, it is called from the Makefile.
5#  Edit the Makefile to point to where you want the binary and libraries
6#  to go. Then  'make clean', 'make irix' and 'make install'.
7
8LIBS =        -lXext -lX11 -lm
9
10OPTS =        -O3 -DIRIX -DLC_X11 -DLIBDIR=\"$(LC_LIBDIR)/\"
11
12CXXFLAGS = $(OPTS) $(INCLUDES)
13
14SOURCE =      main.cxx \
15              mouse.cxx \
16              screen.cxx \
17              mps.cxx \
18              typeinit.cxx \
19              engine.cxx \
20              transport.cxx \
21              market.cxx \
22              help.cxx \
23              lcx11.cxx
24
25OBJECTS = $(SOURCE:.cxx=.o)
26
27all : $(OBJECTS)
28	CC -o xlin-city $(OBJECTS) $(LIBS)
29
30
31clean:
32	/bin/rm -f $(OBJECTS) xlin-city
33
34#    --------  End of irixMakefile for LinCity  -----------
35