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