diff options
author | David Walter Seikel | 2016-03-28 23:43:36 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-28 23:43:36 +1000 |
commit | c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614 (patch) | |
tree | 816e2be732bea46bd3bc773cd6df0f4623953415 /src/extantz | |
parent | Move some scripts to the bin directory. (diff) | |
download | SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.zip SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.gz SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.bz2 SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.xz |
Move executables to the bin directory.
Diffstat (limited to 'src/extantz')
-rwxr-xr-x | src/extantz/build.lua | 10 | ||||
-rw-r--r-- | src/extantz/extantz.c | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/extantz/build.lua b/src/extantz/build.lua index abb449e..d094f74 100755 --- a/src/extantz/build.lua +++ b/src/extantz/build.lua | |||
@@ -19,13 +19,13 @@ end | |||
19 | CFLAGS = CFLAGS .. ' -I/usr/X11R6/include -I../GuiLua' | 19 | CFLAGS = CFLAGS .. ' -I/usr/X11R6/include -I../GuiLua' |
20 | libs = libs .. ' -lephysics -lGuiLua' | 20 | libs = libs .. ' -lephysics -lGuiLua' |
21 | 21 | ||
22 | --removeFiles(dir, {'crappisspuke.o', 'CDemo.o', 'extantzCamera.o', '../../media/extantz.edj'}) | 22 | --removeFiles(dir, {'crappisspuke.o', 'CDemo.o', 'extantzCamera.o', data_d .. '/extantz.edj'}) |
23 | removeFiles(dir, {'../../media/extantz.edj'}) | 23 | removeFiles(dir, {data_d .. '/extantz.edj'}) |
24 | 24 | ||
25 | runCommand('edje_cc', dir, 'edje_cc ' .. EDJE_FLAGS .. ' extantz.edc ../../media/extantz.edj') | 25 | runCommand('edje_cc', dir, 'edje_cc ' .. EDJE_FLAGS .. ' extantz.edc ' .. data_d .. '/extantz.edj') |
26 | --runCommand('Irrlicht files', dir, 'g++ ' .. CFLAGS .. ' -ffast-math -c crappisspuke.cpp -o crappisspuke.o ' .. LDFLAGS) | 26 | --runCommand('Irrlicht files', dir, 'g++ ' .. CFLAGS .. ' -ffast-math -c crappisspuke.cpp -o crappisspuke.o ' .. LDFLAGS) |
27 | --runCommand(nil, dir, 'g++ ' .. CFLAGS .. ' -ffast-math -c CDemo.cpp -o CDemo.o ' .. LDFLAGS) | 27 | --runCommand(nil, dir, 'g++ ' .. CFLAGS .. ' -ffast-math -c CDemo.cpp -o CDemo.o ' .. LDFLAGS) |
28 | --runCommand(nil, dir, 'g++ ' .. CFLAGS .. ' -ffast-math -c extantzCamera.cpp -o extantzCamera.o ' .. LDFLAGS) | 28 | --runCommand(nil, dir, 'g++ ' .. CFLAGS .. ' -ffast-math -c extantzCamera.cpp -o extantzCamera.o ' .. LDFLAGS) |
29 | CFLAGS = CFLAGS .. ' -Wl,-export-dynamic' | 29 | CFLAGS = CFLAGS .. ' -Wl,-export-dynamic' |
30 | --compileFiles('../../extantz', dir, {'gears', 'ephysics_demo', 'camera', 'files', 'scenri', 'woMan', 'extantz'}, 'crappisspuke.o CDemo.o extantzCamera.o') | 30 | --compileFiles(bin_d .. '/extantz', dir, {'gears', 'ephysics_demo', 'camera', 'files', 'scenri', 'woMan', 'extantz'}, 'crappisspuke.o CDemo.o extantzCamera.o') |
31 | compileFiles('../../extantz', dir, {'gears', 'ephysics_demo', 'camera', 'files', 'scenri', 'woMan', 'extantz'}, '') | 31 | compileFiles(bin_d .. '/extantz', dir, {'gears', 'ephysics_demo', 'camera', 'files', 'scenri', 'woMan', 'extantz'}, '') |
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 159fcaf..1708a6c 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -538,6 +538,7 @@ int skangStep = 0; | |||
538 | static Eina_Bool _makeSkang(void *data) | 538 | static Eina_Bool _makeSkang(void *data) |
539 | { | 539 | { |
540 | globals *ourGlobals = data; | 540 | globals *ourGlobals = data; |
541 | char buf[PATH_MAX]; | ||
541 | 542 | ||
542 | switch (skangStep++) | 543 | switch (skangStep++) |
543 | { | 544 | { |
@@ -567,7 +568,8 @@ static Eina_Bool _makeSkang(void *data) | |||
567 | #if USE_LOVE | 568 | #if USE_LOVE |
568 | case 5 : | 569 | case 5 : |
569 | // PD("About to try connecting to a love server."); | 570 | // PD("About to try connecting to a love server."); |
570 | reachOut("love", "./love", "127.0.0.1", 8211 + 1, ourGlobals, (Ecore_Event_Handler_Cb) _add, /*(Ecore_Event_Handler_Cb) _data*/ NULL, (Ecore_Event_Handler_Cb) _del, clientParser, NULL); | 571 | snprintf(buf, sizeof(buf), "%s/love", prefix_bin_get()); |
572 | reachOut("love", buf, "127.0.0.1", 8211 + 1, ourGlobals, (Ecore_Event_Handler_Cb) _add, /*(Ecore_Event_Handler_Cb) _data*/ NULL, (Ecore_Event_Handler_Cb) _del, clientParser, NULL); | ||
571 | break; | 573 | break; |
572 | #endif | 574 | #endif |
573 | 575 | ||