/ circle3.1 / src / Makefile.os2
Makefile.os2
  1  # CircleMUD Makefile for OS/2 (manually created by David Carver)
  2  
  3  # C compiler to use
  4  CC = gcc
  5  
  6  # Any special flags you want to pass to the compiler
  7  MYFLAGS = -O2 -Wall
  8  
  9  #flags for profiling (see hacker.doc for more information)
 10  PROFILE =
 11  
 12  # Libraires that need to be included for use with GCC for OS/2
 13  LIB = -lsocket 
 14  
 15  ##############################################################################
 16  # Do Not Modify Anything Below This Line (unless you know what you're doing) #
 17  ##############################################################################
 18  
 19  # For compiling circle with GDB debugger Information
 20  #CFLAGS = -g -O $(MYFLAGS) $(PROFILE)
 21  # Uncomment the line below if you don't want to compile with GDB info
 22  CFLAGS = $(MYFLAGS) $(PROFILE) 
 23  
 24  OBJFILES = comm.o act.comm.o act.informative.o act.movement.o act.item.o \
 25          act.offensive.o act.other.o act.social.o act.wizard.o ban.o boards.o \
 26          castle.o class.o config.o constants.o db.o fight.o graph.o handler.o \
 27          house.o interpreter.o limits.o magic.o mail.o mobact.o modify.o \
 28          objsave.o olc.o shop.o spec_assign.o spec_procs.o spell_parser.o \
 29          spells.o utils.o weather.o random.o alias.o
 30  
 31  default: .accepted
 32          $(MAKE) ../bin/circle
 33  
 34  .accepted:
 35          @./licheck more
 36  
 37  utils: .accepted
 38          $(MAKE) ../bin/autowiz
 39          $(MAKE) ../bin/delobjs
 40          $(MAKE) ../bin/listrent
 41          $(MAKE) ../bin/mudpasswd
 42          $(MAKE) ../bin/play2to3
 43          $(MAKE) ../bin/purgeplay
 44          $(MAKE) ../bin/shopconv
 45          $(MAKE) ../bin/showplay
 46          $(MAKE) ../bin/sign
 47          $(MAKE) ../bin/split
 48          $(MAKE) ../bin/wld2html
 49  
 50  all: .accepted
 51          $(MAKE) ../bin/circle
 52          $(MAKE) utils
 53  
 54  circle:
 55          $(MAKE) ../bin/circle
 56  autowiz:
 57          $(MAKE) ../bin/autowiz
 58  delobjs:
 59          $(MAKE) ../bin/delobjs
 60  listrent:
 61          $(MAKE) ../bin/listrent
 62  mudpasswd:
 63          $(MAKE) ../bin/mudpasswd
 64  play2to3:
 65          $(MAKE) ../bin/play2to3
 66  purgeplay:
 67          $(MAKE) ../bin/purgeplay
 68  shopconv:
 69          $(MAKE) ../bin/shopconv
 70  showplay:
 71          $(MAKE) ../bin/showplay
 72  sign:
 73          $(MAKE) ../bin/sign
 74  split:
 75          $(MAKE) ../bin/split
 76  wld2html:
 77          $(MAKE) ../bin/wld2html
 78  
 79  
 80  ../bin/autowiz: util/autowiz.c conf.h sysdep.h structs.h utils.h db.h
 81          $(CC) $(CFLAGS) -o ../bin/autowiz util/autowiz.c
 82  ../bin/delobjs: util/delobjs.c conf.h sysdep.h structs.h
 83          $(CC) $(CFLAGS) -o ../bin/delobjs util/delobjs.c
 84  ../bin/listrent: util/listrent.c conf.h sysdep.h structs.h
 85          $(CC) $(CFLAGS) -o ../bin/listrent util/listrent.c
 86  ../bin/mudpasswd: util/mudpasswd.c conf.h sysdep.h structs.h utils.h
 87          $(CC) $(CFLAGS) -o ../bin/mudpasswd util/mudpasswd.c
 88  ../bin/play2to3: util/play2to3.c
 89          $(CC) $(CFLAGS) -o ../bin/play2to3 util/play2to3.c
 90  ../bin/purgeplay: util/purgeplay.c conf.h sysdep.h structs.h utils.h
 91          $(CC) $(CFLAGS) -o ../bin/purgeplay util/purgeplay.c
 92  ../bin/shopconv: util/shopconv.c conf.h sysdep.h structs.h db.h utils.h shop.h
 93          $(CC) $(CFLAGS) -o ../bin/shopconv util/shopconv.c
 94  ../bin/showplay: util/showplay.c conf.h sysdep.h structs.h
 95          $(CC) $(CFLAGS) -o ../bin/showplay util/showplay.c
 96  ../bin/sign: util/sign.c conf.h sysdep.h
 97          $(CC) $(CFLAGS) -o ../bin/sign util/sign.c 
 98  ../bin/split: util/split.c
 99          $(CC) $(CFLAGS) -o ../bin/split util/split.c
100  ../bin/wld2html: util/wld2html.c
101          $(CC) $(CFLAGS) -o ../bin/wld2html util/wld2html.c
102  
103  ../bin/circle : $(OBJFILES)
104          $(CC) -o circle.exe $(PROFILE) $(OBJFILES) $(LIB) 
105  clean:
106          rm -f *.o
107  
108  # Dependencies for the object files (automagically generated with
109  # gcc -MM)
110  
111  alias.o: alias.c conf.h sysdep.h structs.h utils.h interpreter.h db.h
112  	$(CC) -c $(CFLAGS) alias.c
113  act.comm.o: act.comm.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h \
114    handler.h db.h screen.h
115          $(CC) -c $(CFLAGS) act.comm.c
116  act.informative.o: act.informative.c conf.h sysdep.h structs.h utils.h comm.h \
117    interpreter.h handler.h db.h spells.h screen.h constants.h
118          $(CC) -c $(CFLAGS) act.informative.c
119  act.item.o: act.item.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h \
120    handler.h db.h spells.h
121          $(CC) -c $(CFLAGS) act.item.c
122  act.movement.o: act.movement.c conf.h sysdep.h structs.h utils.h comm.h \
123    interpreter.h handler.h db.h spells.h house.h constants.h
124          $(CC) -c $(CFLAGS) act.movement.c
125  act.offensive.o: act.offensive.c conf.h sysdep.h structs.h utils.h comm.h \
126    interpreter.h handler.h db.h spells.h
127          $(CC) -c $(CFLAGS) act.offensive.c
128  act.other.o: act.other.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h \
129    handler.h db.h spells.h screen.h house.h
130          $(CC) -c $(CFLAGS) act.other.c
131  act.social.o: act.social.c conf.h sysdep.h structs.h utils.h comm.h \
132    interpreter.h handler.h db.h spells.h
133          $(CC) -c $(CFLAGS) act.social.c
134  act.wizard.o: act.wizard.c conf.h sysdep.h structs.h utils.h comm.h \
135    interpreter.h handler.h db.h spells.h house.h screen.h constants.h
136          $(CC) -c $(CFLAGS) act.wizard.c
137  ban.o: ban.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h handler.h db.h
138          $(CC) -c $(CFLAGS) ban.c
139  boards.o: boards.c conf.h sysdep.h structs.h utils.h comm.h db.h boards.h \
140    interpreter.h handler.h
141          $(CC) -c $(CFLAGS) boards.c
142  castle.o: castle.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h \
143    handler.h db.h spells.h
144          $(CC) -c $(CFLAGS) castle.c
145  class.o: class.c conf.h sysdep.h structs.h db.h utils.h spells.h interpreter.h
146          $(CC) -c $(CFLAGS) class.c
147  comm.o: comm.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h handler.h \
148    db.h house.h
149          $(CC) -c $(CFLAGS) comm.c
150  config.o: config.c conf.h sysdep.h structs.h
151          $(CC) -c $(CFLAGS) config.c
152  constants.o: constants.c conf.h sysdep.h structs.h
153          $(CC) -c $(CFLAGS) constants.c
154  db.o: db.c conf.h sysdep.h structs.h utils.h db.h comm.h handler.h spells.h mail.h \
155    interpreter.h house.h
156          $(CC) -c $(CFLAGS) db.c
157  fight.o: fight.c conf.h sysdep.h structs.h utils.h comm.h handler.h interpreter.h \
158    db.h spells.h screen.h
159          $(CC) -c $(CFLAGS) fight.c
160  graph.o: graph.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h handler.h \
161    db.h spells.h
162          $(CC) -c $(CFLAGS) graph.c
163  handler.o: handler.c conf.h sysdep.h structs.h utils.h comm.h db.h handler.h \
164    interpreter.h spells.h
165          $(CC) -c $(CFLAGS) handler.c
166  house.o: house.c conf.h sysdep.h structs.h comm.h handler.h db.h interpreter.h \
167    utils.h house.h constants.h
168          $(CC) -c $(CFLAGS) house.c
169  interpreter.o: interpreter.c conf.h sysdep.h structs.h comm.h interpreter.h db.h \
170    utils.h spells.h handler.h mail.h screen.h
171          $(CC) -c $(CFLAGS) interpreter.c
172  limits.o: limits.c conf.h sysdep.h structs.h utils.h spells.h comm.h db.h \
173    handler.h
174          $(CC) -c $(CFLAGS) limits.c
175  magic.o: magic.c conf.h sysdep.h structs.h utils.h comm.h spells.h handler.h db.h
176          $(CC) -c $(CFLAGS) magic.c
177  mail.o: mail.c conf.h sysdep.h structs.h utils.h comm.h db.h interpreter.h \
178    handler.h mail.h
179          $(CC) -c $(CFLAGS) mail.c
180  mobact.o: mobact.c conf.h sysdep.h structs.h utils.h db.h comm.h interpreter.h \
181    handler.h spells.h
182          $(CC) -c $(CFLAGS) mobact.c
183  modify.o: modify.c conf.h sysdep.h structs.h utils.h interpreter.h handler.h db.h \
184    comm.h spells.h mail.h boards.h
185          $(CC) -c $(CFLAGS) modify.c
186  objsave.o: objsave.c conf.h sysdep.h structs.h comm.h handler.h db.h \
187    interpreter.h utils.h spells.h
188          $(CC) -c $(CFLAGS) objsave.c
189  olc.o: olc.c conf.h sysdep.h structs.h utils.h comm.h interpreter.h handler.h db.h \
190    olc.h
191          $(CC) -c $(CFLAGS) olc.c
192  random.o: random.c
193          $(CC) -c $(CFLAGS) random.c
194  shop.o: shop.c conf.h sysdep.h structs.h comm.h handler.h db.h interpreter.h \
195    utils.h shop.h
196          $(CC) -c $(CFLAGS) shop.c
197  spec_assign.o: spec_assign.c conf.h sysdep.h structs.h db.h interpreter.h \
198    utils.h
199          $(CC) -c $(CFLAGS) spec_assign.c
200  spec_procs.o: spec_procs.c conf.h sysdep.h structs.h utils.h comm.h \
201    interpreter.h handler.h db.h spells.h
202          $(CC) -c $(CFLAGS) spec_procs.c
203  spell_parser.o: spell_parser.c conf.h sysdep.h structs.h utils.h interpreter.h \
204    spells.h handler.h comm.h db.h
205          $(CC) -c $(CFLAGS) spell_parser.c
206  spells.o: spells.c conf.h sysdep.h structs.h utils.h comm.h spells.h handler.h \
207    db.h constants.h
208          $(CC) -c $(CFLAGS) spells.c
209  utils.o: utils.c conf.h sysdep.h structs.h utils.h comm.h screen.h spells.h \
210    handler.h
211          $(CC) -c $(CFLAGS) utils.c
212  weather.o: weather.c conf.h sysdep.h structs.h utils.h comm.h handler.h \
213    interpreter.h db.h
214          $(CC) -c $(CFLAGS) weather.c