INCFLAGS=-I. -I../include CFLAGS=-w -O3 $(INCFLAGS) PROG=libitem.a SRC=item.c item_event.c item_gen.c item_trade.c item_contract.c OBJ=$(SRC:.c=.o) ifeq (0,$(MAKELEVEL)) CC=gcc RM=rm -f AR=ar cr MV=mv RANLIB=ranlib SED=sed SHELL=/bin/sh endif all: $(PROG) $(PROG): $(OBJ) $(RM) $(PROG) $(AR) $(PROG) $(OBJ) $(RANLIB) $(PROG) depend: $(MV) makefile makefile.bak $(SED) -ne '1,/^# DO NOT DELETE THIS LINE/p' makefile.bak>makefile $(CC) $(INCFLAGS) -M $(SRC) >> makefile clean: $(RM) $(PROG) $(RM) $(OBJ) $(RM) *~ distclean: $(RM) $(PROG) $(RM) $(OBJ) $(RM) *~ $(MV) makefile Makefile.bak $(SED) -ne '1,/^# DO NOT DELETE THIS LINE/p' makefile.bak>makefile $(RM) makefile.bak # DO NOT DELETE THIS LINE item.o: item.c ../include/version.h ../include/correct_bug.h \ ../include/version_pk.h /usr/include/stdio.h /usr/include/features.h \ /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h \ /usr/include/bits/types.h /usr/include/bits/wordsize.h \ /usr/include/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \ /usr/include/gconv.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h \ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ /usr/include/endian.h /usr/include/bits/endian.h \ /usr/include/sys/select.h /usr/include/bits/select.h \ /usr/include/bits/sigset.h /usr/include/bits/time.h \ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ /usr/include/bits/sched.h /usr/include/alloca.h /usr/include/string.h \ /usr/include/strings.h /usr/include/errno.h /usr/include/bits/errno.h \ /usr/include/linux/errno.h /usr/include/asm/errno.h ../include/common.h \ ../include/char.h ../include/char_base.h ../include/skill.h \ ../include/util.h /usr/include/sys/time.h ../include/title.h \ ../include/addressbook.h ../include/net.h /usr/include/netinet/in.h \ /usr/include/stdint.h /usr/include/bits/socket.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h \ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \ /usr/include/asm/socket.h /usr/include/asm/sockios.h \ /usr/include/bits/in.h /usr/include/bits/byteswap.h \ /usr/include/signal.h /usr/include/bits/signum.h \ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h \ /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h \ ../include/link.h ../include/char_data.h ../include/item.h \ ../include/battle.h ../include/buf.h ../include/function.h \ ../include/magic_base.h ../include/profession_skill.h item_event.o: item_event.c ../include/version.h ../include/correct_bug.h \ ../include/version_pk.h /usr/include/string.h /usr/include/features.h \ /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h \ /usr/include/ctype.h /usr/include/bits/types.h \ /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h \ /usr/include/endian.h /usr/include/bits/endian.h ../include/common.h \ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ /usr/include/wchar.h /usr/include/bits/wchar.h /usr/include/gconv.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h \ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ /usr/include/errno.h /usr/include/bits/errno.h \ /usr/include/linux/errno.h /usr/include/asm/errno.h ../include/char.h \ ../include/char_base.h ../include/skill.h ../include/util.h \ /usr/include/sys/time.h /usr/include/time.h /usr/include/bits/time.h \ /usr/include/sys/select.h /usr/include/bits/select.h \ /usr/include/bits/sigset.h /usr/include/stdlib.h \ /usr/include/sys/types.h /usr/include/sys/sysmacros.h \ /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \ /usr/include/alloca.h ../include/title.h ../include/addressbook.h \ ../include/net.h /usr/include/netinet/in.h /usr/include/stdint.h \ /usr/include/bits/socket.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h \ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \ /usr/include/asm/socket.h /usr/include/asm/sockios.h \ /usr/include/bits/in.h /usr/include/bits/byteswap.h \ /usr/include/signal.h /usr/include/bits/signum.h \ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h \ /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h \ ../include/link.h ../include/char_data.h ../include/item.h \ ../include/configfile.h ../include/item_event.h ../include/object.h \ ../include/anim_tbl.h ../include/magic.h ../include/handletime.h \ ../include/log.h ../include/encount.h ../include/battle.h \ ../include/battle_item.h ../include/lssproto_serv.h \ ../include/lssproto_util.h /usr/include/strings.h /usr/include/unistd.h \ /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ /usr/include/getopt.h ../include/pet.h ../include/npcutil.h \ ../include/enemy.h ../include/battle_magic.h ../include/pet_skill.h \ ../include/npc_freepetskillshop.h ../include/profession_skill.h item_gen.o: item_gen.c ../include/version.h ../include/correct_bug.h \ ../include/version_pk.h /usr/include/stdio.h /usr/include/features.h \ /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h \ /usr/include/bits/types.h /usr/include/bits/wordsize.h \ /usr/include/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \ /usr/include/gconv.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h \ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ /usr/include/stdlib.h /usr/include/sys/types.h /usr/include/time.h \ /usr/include/endian.h /usr/include/bits/endian.h \ /usr/include/sys/select.h /usr/include/bits/select.h \ /usr/include/bits/sigset.h /usr/include/bits/time.h \ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ /usr/include/bits/sched.h /usr/include/alloca.h /usr/include/string.h \ /usr/include/strings.h /usr/include/errno.h /usr/include/bits/errno.h \ /usr/include/linux/errno.h /usr/include/asm/errno.h \ /usr/include/ctype.h /usr/include/math.h /usr/include/bits/huge_val.h \ /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \ ../include/configfile.h ../include/common.h ../include/util.h \ /usr/include/sys/time.h ../include/buf.h ../include/char.h \ ../include/char_base.h ../include/skill.h ../include/title.h \ ../include/addressbook.h ../include/net.h /usr/include/netinet/in.h \ /usr/include/stdint.h /usr/include/bits/socket.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h \ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \ /usr/include/asm/socket.h /usr/include/asm/sockios.h \ /usr/include/bits/in.h /usr/include/bits/byteswap.h \ /usr/include/signal.h /usr/include/bits/signum.h \ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h \ /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h \ ../include/link.h ../include/char_data.h ../include/item.h \ ../include/item_gen.h ../include/enemy.h ../include/log.h \ ../include/saacproto_cli.h ../include/saacproto_util.h \ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ /usr/include/bits/confname.h /usr/include/getopt.h ../include/family.h \ ../include/magic_base.h item_trade.o: item_trade.c /usr/include/string.h /usr/include/features.h \ /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h \ ../include/version.h ../include/correct_bug.h ../include/version_pk.h \ ../include/item_trade.h ../include/char.h ../include/common.h \ /usr/include/stdio.h /usr/include/bits/types.h \ /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h \ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ /usr/include/bits/wchar.h /usr/include/gconv.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h \ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ /usr/include/errno.h /usr/include/bits/errno.h \ /usr/include/linux/errno.h /usr/include/asm/errno.h \ ../include/char_base.h ../include/skill.h ../include/util.h \ /usr/include/sys/time.h /usr/include/time.h /usr/include/bits/time.h \ /usr/include/sys/select.h /usr/include/bits/select.h \ /usr/include/bits/sigset.h /usr/include/stdlib.h \ /usr/include/sys/types.h /usr/include/endian.h \ /usr/include/bits/endian.h /usr/include/sys/sysmacros.h \ /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \ /usr/include/alloca.h ../include/title.h ../include/addressbook.h \ ../include/net.h /usr/include/netinet/in.h /usr/include/stdint.h \ /usr/include/bits/socket.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h \ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \ /usr/include/asm/socket.h /usr/include/asm/sockios.h \ /usr/include/bits/in.h /usr/include/bits/byteswap.h \ /usr/include/signal.h /usr/include/bits/signum.h \ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h \ /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h \ ../include/link.h ../include/char_data.h ../include/item.h \ ../include/handletime.h ../include/object.h ../include/trade.h \ ../include/readmap.h ../include/lssproto_serv.h \ ../include/lssproto_util.h /usr/include/strings.h /usr/include/unistd.h \ /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ /usr/include/getopt.h ../include/enemy.h ../include/pet.h item_contract.o: item_contract.c ../include/version.h \ ../include/correct_bug.h ../include/version_pk.h /usr/include/string.h \ /usr/include/features.h /usr/include/sys/cdefs.h \ /usr/include/gnu/stubs.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h \ /usr/include/ctype.h /usr/include/bits/types.h \ /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h \ /usr/include/endian.h /usr/include/bits/endian.h ../include/common.h \ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ /usr/include/wchar.h /usr/include/bits/wchar.h /usr/include/gconv.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h \ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ /usr/include/errno.h /usr/include/bits/errno.h \ /usr/include/linux/errno.h /usr/include/asm/errno.h ../include/char.h \ ../include/char_base.h ../include/skill.h ../include/util.h \ /usr/include/sys/time.h /usr/include/time.h /usr/include/bits/time.h \ /usr/include/sys/select.h /usr/include/bits/select.h \ /usr/include/bits/sigset.h /usr/include/stdlib.h \ /usr/include/sys/types.h /usr/include/sys/sysmacros.h \ /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \ /usr/include/alloca.h ../include/title.h ../include/addressbook.h \ ../include/net.h /usr/include/netinet/in.h /usr/include/stdint.h \ /usr/include/bits/socket.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h \ /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h \ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \ /usr/include/asm/socket.h /usr/include/asm/sockios.h \ /usr/include/bits/in.h /usr/include/bits/byteswap.h \ /usr/include/signal.h /usr/include/bits/signum.h \ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h \ /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h \ ../include/link.h ../include/char_data.h ../include/item.h \ ../include/configfile.h ../include/item_event.h ../include/object.h \ ../include/anim_tbl.h ../include/magic.h ../include/handletime.h \ ../include/log.h ../include/encount.h ../include/battle.h \ ../include/battle_item.h ../include/lssproto_serv.h \ ../include/lssproto_util.h /usr/include/strings.h /usr/include/unistd.h \ /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ /usr/include/getopt.h ../include/pet.h ../include/npcutil.h \ ../include/enemy.h