[asterisk-commits] mnicholson: branch mnicholson/asttest r172775 - /team/mnicholson/asttest/astt...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Feb 1 11:43:54 CST 2009
Author: mnicholson
Date: Sun Feb 1 11:43:54 2009
New Revision: 172775
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=172775
Log:
use patterns in make file to build _lua.h header files
Modified:
team/mnicholson/asttest/asttest/Makefile
Modified: team/mnicholson/asttest/asttest/Makefile
URL: http://svn.digium.com/svn-view/asterisk/team/mnicholson/asttest/asttest/Makefile?view=diff&rev=172775&r1=172774&r2=172775
==============================================================================
--- team/mnicholson/asttest/asttest/Makefile (original)
+++ team/mnicholson/asttest/asttest/Makefile Sun Feb 1 11:43:54 2009
@@ -59,6 +59,9 @@
#nmenuselect:
#endif
+%_lua.h : %.lua tools/mkstring
+ ./tools/mkstring -n $(*F)_lua -o $@ $<
+
asterisk:
cd ../ && ./configure --enable-dev-mode --prefix=$(AST_INSTALL_DIR) --localstatedir=$(AST_INSTALL_DIR)/var
$(MAKE) -C ../ install
@@ -68,9 +71,6 @@
asttest: $(OBJS) $(T_OBJS) include/asttest/asttest.h
$(CC) -o $@ $^ $(T_LIBS)
-
-lib/asttest_lua.h: lib/asttest.lua tools/mkstring
- ./tools/mkstring -n asttest_lua -o lib/asttest_lua.h lib/asttest.lua
tools/mkstring: tools/mkstring.c
$(CC) -D_GNU_SOURCE -Wall -o $@ $^
More information about the asterisk-commits
mailing list