summaryrefslogtreecommitdiff
path: root/src/common/Makefile
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-21 01:16:30 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-21 01:16:30 +0000
commitd3a2bbe60ca0a543713bc0bdd280be7c9c9c2951 (patch)
tree66c00609b6d6d28d23c4116037c56c6523490d8b /src/common/Makefile
parent14895a5d9a96190f589bc52f867290e83c01a211 (diff)
downloadhercules-d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951.tar.gz
hercules-d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951.tar.bz2
hercules-d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951.tar.xz
hercules-d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951.zip
- Moved md5calc to common
- Answered Skotlex's question and fixed "warning: comparison is always false due to limited range of data type" by restricting script words to ASCII characters only. - Applied "svn:eol-style native" to makefiles and project files git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9544 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/Makefile')
-rw-r--r--src/common/Makefile121
1 files changed, 61 insertions, 60 deletions
diff --git a/src/common/Makefile b/src/common/Makefile
index e601baae4..7c8f8065d 100644
--- a/src/common/Makefile
+++ b/src/common/Makefile
@@ -1,60 +1,61 @@
-txt sql all: obj common
-
-obj:
- mkdir obj
-
-common: obj/core.o obj/socket.o obj/timer.o obj/db.o obj/plugins.o obj/lock.o \
- obj/nullpo.o obj/malloc.o obj/showmsg.o obj/strlib.o obj/utils.o \
- obj/graph.o obj/grfio.o obj/minicore.o obj/minisocket.o obj/minimalloc.o \
- obj/mapindex.o obj/unz.o obj/ers.o
-
-
-obj/%.o: %.c
- $(COMPILE.c) $(OUTPUT_OPTION) $<
-
-obj/mini%.o: %.c
- $(COMPILE.c) -DMINICORE $(OUTPUT_OPTION) $<
-
-obj/unz.o:
- $(MAKE) -C ../zlib
- @touch $@
-
-
-clean:
- rm -rf *.o obj
-
-HAVESVN = $(shell which svnversion)
-
-ifeq ($(findstring /,$(HAVESVN)), /)
-svnversion.h:
- @printf "#define SVNVERSION " > svnversion.h
- @svnversion . >> svnversion.h
- @printf "\n" >> svnversion.h
-else
-svnversion.h:
- @printf "\n" > svnversion.h
-endif
-
-obj/minicore.o: core.c core.h
-obj/minisocket.o: socket.c socket.h
-obj/minimalloc.o: malloc.c malloc.h
-
-# DO NOT DELETE
-
-obj/core.o: core.c core.h showmsg.h svnversion.h
-obj/socket.o: socket.c socket.h mmo.h showmsg.h plugins.h
-obj/timer.o: timer.c timer.h showmsg.h
-obj/ers.o: ers.c ers.h cbasetypes.h
-obj/db.o: db.c db.h showmsg.h ers.h
-obj/lock.o: lock.c lock.h showmsg.h
-obj/grfio.o: grfio.c grfio.h
-obj/graph.o: graph.c graph.h
-obj/nullpo.o: nullpo.c nullpo.h showmsg.h
-obj/malloc.o: malloc.c malloc.h showmsg.h
-obj/plugins.o: plugins.c plugins.h plugin.h
-obj/showmsg.o: showmsg.c showmsg.h
-obj/strlib.o: strlib.c strlib.h utils.h
-obj/mapindex.o: mapindex.c mapindex.h
-obj/utils.o: utils.c utils.h malloc.h showmsg.h mmo.h
-mmo.h: cbasetypes.h
- @touch mmo.h
+txt sql all: obj common
+
+obj:
+ mkdir obj
+
+common: obj/core.o obj/socket.o obj/timer.o obj/db.o obj/plugins.o obj/lock.o \
+ obj/nullpo.o obj/malloc.o obj/showmsg.o obj/strlib.o obj/utils.o \
+ obj/graph.o obj/grfio.o obj/minicore.o obj/minisocket.o obj/minimalloc.o \
+ obj/mapindex.o obj/unz.o obj/ers.o obj/md5calc.o
+
+
+obj/%.o: %.c
+ $(COMPILE.c) $(OUTPUT_OPTION) $<
+
+obj/mini%.o: %.c
+ $(COMPILE.c) -DMINICORE $(OUTPUT_OPTION) $<
+
+obj/unz.o:
+ $(MAKE) -C ../zlib
+ @touch $@
+
+
+clean:
+ rm -rf *.o obj GNUmakefile
+
+HAVESVN = $(shell which svnversion)
+
+ifeq ($(findstring /,$(HAVESVN)), /)
+svnversion.h:
+ @printf "#define SVNVERSION " > svnversion.h
+ @svnversion . >> svnversion.h
+ @printf "\n" >> svnversion.h
+else
+svnversion.h:
+ @printf "\n" > svnversion.h
+endif
+
+obj/minicore.o: core.c core.h
+obj/minisocket.o: socket.c socket.h
+obj/minimalloc.o: malloc.c malloc.h
+
+# DO NOT DELETE
+
+obj/core.o: core.c core.h showmsg.h svnversion.h
+obj/socket.o: socket.c socket.h mmo.h showmsg.h plugins.h
+obj/timer.o: timer.c timer.h showmsg.h
+obj/ers.o: ers.c ers.h cbasetypes.h
+obj/db.o: db.c db.h showmsg.h ers.h
+obj/lock.o: lock.c lock.h showmsg.h
+obj/grfio.o: grfio.c grfio.h
+obj/graph.o: graph.c graph.h
+obj/nullpo.o: nullpo.c nullpo.h showmsg.h
+obj/malloc.o: malloc.c malloc.h showmsg.h
+obj/plugins.o: plugins.c plugins.h plugin.h
+obj/showmsg.o: showmsg.c showmsg.h
+obj/strlib.o: strlib.c strlib.h utils.h
+obj/mapindex.o: mapindex.c mapindex.h
+obj/utils.o: utils.c utils.h malloc.h showmsg.h mmo.h
+obj/md5calc.o: md5calc.c md5calc.h
+mmo.h: cbasetypes.h
+ @touch mmo.h