forked from github/server
small fixes
This commit is contained in:
parent
532cbd0a36
commit
05af5cf006
10
src/Jamrules
10
src/Jamrules
|
@ -20,6 +20,16 @@ CCFLAGS += -Wwrite-strings
|
||||||
-Wno-char-subscripts
|
-Wno-char-subscripts
|
||||||
;
|
;
|
||||||
|
|
||||||
|
rule UsingLuabind
|
||||||
|
{
|
||||||
|
SubDirHdrs $(LUABIND_ROOT)/include ;
|
||||||
|
}
|
||||||
|
|
||||||
|
rule UsingLua
|
||||||
|
{
|
||||||
|
SubDirHdrs $(LUA_ROOT)/include ;
|
||||||
|
}
|
||||||
|
|
||||||
rule TargetDirectory
|
rule TargetDirectory
|
||||||
{
|
{
|
||||||
# Now set up SEARCH_SOURCE, LOCATE_TARGET, SOURCE_GRIST
|
# Now set up SEARCH_SOURCE, LOCATE_TARGET, SOURCE_GRIST
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <eressea.h>
|
#include <eressea.h>
|
||||||
|
#ifdef MUSEUM_MODULE
|
||||||
#include "museum.h"
|
#include "museum.h"
|
||||||
|
|
||||||
/* kernel includes */
|
/* kernel includes */
|
||||||
|
@ -414,3 +415,4 @@ register_museum(void)
|
||||||
register_function((pf_generic)use_museumexitticket, "usemuseumexitticket");
|
register_function((pf_generic)use_museumexitticket, "usemuseumexitticket");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -15,6 +15,7 @@ if $(HAVE_LUA) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if $(HAVE_LUA) {
|
if $(HAVE_LUA) {
|
||||||
|
BINARY = eressea-lua ;
|
||||||
SOURCES =
|
SOURCES =
|
||||||
<lua>alliance.cpp
|
<lua>alliance.cpp
|
||||||
<lua>building.cpp
|
<lua>building.cpp
|
||||||
|
@ -29,13 +30,14 @@ if $(HAVE_LUA) {
|
||||||
LINKLIBS on eressea += -llua50 -llualib50 ;
|
LINKLIBS on eressea += -llua50 -llualib50 ;
|
||||||
LINKLIBS on eressea += -lluabind ;
|
LINKLIBS on eressea += -lluabind ;
|
||||||
} else {
|
} else {
|
||||||
|
BINARY = eressea ;
|
||||||
SOURCES = main.c ;
|
SOURCES = main.c ;
|
||||||
}
|
}
|
||||||
|
|
||||||
SOURCES += korrektur.c ;
|
SOURCES += korrektur.c ;
|
||||||
|
|
||||||
Main eressea : $(SOURCES) ;
|
Main $(BINARY) : $(SOURCES) ;
|
||||||
LinkLibraries eressea :
|
LinkLibraries $(BINARY) :
|
||||||
kernel
|
kernel
|
||||||
gamecode
|
gamecode
|
||||||
items
|
items
|
||||||
|
@ -47,4 +49,4 @@ LinkLibraries eressea :
|
||||||
util
|
util
|
||||||
;
|
;
|
||||||
|
|
||||||
LINKLIBS on eressea += -lm ;
|
LINKLIBS on $(BINARY) += -lm ;
|
||||||
|
|
|
@ -126,7 +126,7 @@ static int nowrite = 0;
|
||||||
static boolean g_writemap = false;
|
static boolean g_writemap = false;
|
||||||
static boolean g_killeiswald = false;
|
static boolean g_killeiswald = false;
|
||||||
static boolean opt_reportonly = false;
|
static boolean opt_reportonly = false;
|
||||||
boolean opt_cr_absolute_coords = false;
|
extern boolean opt_cr_absolute_coords;
|
||||||
|
|
||||||
struct settings global = {
|
struct settings global = {
|
||||||
"Eressea", /* gamename */
|
"Eressea", /* gamename */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "lua.h"
|
#include <lua50/lua.h>
|
||||||
#include "lauxlib.h"
|
#include <lua50/lauxlib.h>
|
||||||
#include "lualib.h"
|
#include <lua50/lualib.h>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue