@@ -133,3 +133,4 @@ Thumbs.db
/.idea/rathena.iml
/.idea/vcs.xml
/.idea/workspace.xml
+/build/
@@ -1,6 +1,6 @@
COMMON_OBJ = minicore.o malloc.o showmsg.o strlib.o utils.o des.o grfio.o
-COMMON_DIR_OBJ = $(COMMON_OBJ:%=../common/obj_all/%)
+COMMON_DIR_OBJ = $(COMMON_OBJ:%=../common/obj/%)
COMMON_H = $(shell ls ../common/*.h)
COMMON_INCLUDE = -I../common/
@@ -210,6 +210,7 @@ sub UpdateSQL { my($sBaseDir,$sInit,$rhFileState) = @_;
}
sub RunCompilation { my($sBaseDir,$sTarget) = @_;
+ chdir "$sBaseDir/..";
if($^O =~ "linux"){
print "Recompiling...\n";
system('./configure && make clean server');