aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/love
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 23:43:36 +1000
committerDavid Walter Seikel2016-03-28 23:43:36 +1000
commitc616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614 (patch)
tree816e2be732bea46bd3bc773cd6df0f4623953415 /src/love
parentMove some scripts to the bin directory. (diff)
downloadSledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.zip
SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.gz
SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.bz2
SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.xz
Move executables to the bin directory.
Diffstat (limited to 'src/love')
-rwxr-xr-xsrc/love/build.lua6
-rw-r--r--src/love/love.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/src/love/build.lua b/src/love/build.lua
index ff5bf7d..b5200b4 100755
--- a/src/love/build.lua
+++ b/src/love/build.lua
@@ -14,7 +14,7 @@ if 'nil' == type(dir) then
14end 14end
15 15
16 16
17removeFiles(dir, {'../../media/love.edj'}) 17removeFiles(dir, {data_d .. '/love.edj'})
18 18
19runCommand('edje_cc', dir, 'edje_cc ' .. EDJE_FLAGS .. ' love.edc ../../media/love.edj') 19runCommand('edje_cc', dir, 'edje_cc ' .. EDJE_FLAGS .. ' love.edc ' .. data_d .. '/love.edj')
20compileFiles('../../love', dir, {'love'}, '') 20compileFiles(bin_d .. '/love', dir, {'love'}, '')
diff --git a/src/love/love.c b/src/love/love.c
index 698726f..0c1a63d 100644
--- a/src/love/love.c
+++ b/src/love/love.c
@@ -666,7 +666,8 @@ int main(int argc, char **argv)
666 666
667// PD("About to try connecting to a LuaSL server."); 667// PD("About to try connecting to a LuaSL server.");
668 // Try to connect to a local LuaSL server. 668 // Try to connect to a local LuaSL server.
669 reachOut("LuaSL", "./LuaSL", "127.0.0.1", ourGlobals.port, &ourGlobals, (Ecore_Event_Handler_Cb) _addLuaSL, /*(Ecore_Event_Handler_Cb) _dataLuaSL*/ NULL, (Ecore_Event_Handler_Cb) _delLuaSL, LuaSLParser, NULL); 669 snprintf(buf, sizeof(buf), "%s/LuaSL", prefix_bin_get());
670 reachOut("LuaSL", buf, "127.0.0.1", ourGlobals.port, &ourGlobals, (Ecore_Event_Handler_Cb) _addLuaSL, /*(Ecore_Event_Handler_Cb) _dataLuaSL*/ NULL, (Ecore_Event_Handler_Cb) _delLuaSL, LuaSLParser, NULL);
670 671
671// PD("Love is about to try creating a love server."); 672// PD("Love is about to try creating a love server.");
672 if (openArms("love", ourGlobals.address, ourGlobals.port + 1, &ourGlobals, (Ecore_Event_Handler_Cb) _addClient, NULL, (Ecore_Event_Handler_Cb) _delClient, clientParser, NULL)) 673 if (openArms("love", ourGlobals.address, ourGlobals.port + 1, &ourGlobals, (Ecore_Event_Handler_Cb) _addClient, NULL, (Ecore_Event_Handler_Cb) _delClient, clientParser, NULL))