[asterisk-commits] mnicholson: branch mnicholson/asttest r248344 - /team/mnicholson/asttest/astt...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Feb 22 09:01:44 CST 2010
Author: mnicholson
Date: Mon Feb 22 09:01:40 2010
New Revision: 248344
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248344
Log:
Store lua libs as compiled chunks instead of text strings in the application.
Modified:
team/mnicholson/asttest/asttest/Makefile
Modified: team/mnicholson/asttest/asttest/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/mnicholson/asttest/asttest/Makefile?view=diff&rev=248344&r1=248343&r2=248344
==============================================================================
--- team/mnicholson/asttest/asttest/Makefile (original)
+++ team/mnicholson/asttest/asttest/Makefile Mon Feb 22 09:01:40 2010
@@ -83,8 +83,8 @@
#endif
lua/%_lua.h : lua/%.lua tools/mkstring
- luac -p $<
- ./tools/mkstring -n $(*F)_lua -o $@ $<
+ luac -o $(*F).luac $<
+ ./tools/mkstring -n $(*F)_lua -o $@ $(*F).luac
lib/%.o: lib/%.c include/asttest/%.h
@@ -158,6 +158,7 @@
clean:
rm -f asttest $(OBJS) $(M_OBJS) $(C_OBJS) $(G_OBJS) $(N_OBJS) $(L_OBJS)
rm -f lua/*_lua.h
+ rm -f lua/*.luac
rm -f tools/mkstring
rm -rf $(ASTDSTDIR)
-$(MAKE) -C lua/$(LUAFILESYSTEM) clean
More information about the asterisk-commits
mailing list