[asterisk-commits] mnicholson: testsuite/asterisk/trunk r535 - /asterisk/trunk/asttest/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 21 14:42:01 CDT 2010


Author: mnicholson
Date: Wed Jul 21 14:41:57 2010
New Revision: 535

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=535
Log:
Take -c out of the CFLAGS var

Modified:
    asterisk/trunk/asttest/Makefile

Modified: asterisk/trunk/asttest/Makefile
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/Makefile?view=diff&rev=535&r1=534&r2=535
==============================================================================
--- asterisk/trunk/asttest/Makefile (original)
+++ asterisk/trunk/asttest/Makefile Wed Jul 21 14:41:57 2010
@@ -46,7 +46,7 @@
 
 # Basic set of sources and flags/libraries/includes
 OBJS:=asttest.o lib/lua.o lib/testsuite.o lib/testutils.o
-CFLAGS:=-g -c -D_GNU_SOURCE -Wall `pkg-config --cflags lua5.1 2> /dev/null || pkg-config --cflags lua 2> /dev/null` -Iinclude
+CFLAGS:=-g -D_GNU_SOURCE -Wall `pkg-config --cflags lua5.1 2> /dev/null || pkg-config --cflags lua 2> /dev/null` -Iinclude
 L_MODULES:=$(LUAFILESYSTEM_OBJS) $(LUASOCKET_OBJS) $(LUAPOSIX_OBJS) 
 L_LIBS:=$(LUAPOSIX_LIBS)
 L_OBJS:=lib/lua/testlib.o lib/lua/astlib.o lib/lua/proclib.o
@@ -105,7 +105,7 @@
 lib/testutils.o: lib/testutils.c include/asttest/testutils.h include/asttest/asttest.h include/asttest/testsuite.h include/asttest/lua.h
 
 lib/lua.o: lib/lua.c $(L_MODULES) include/asttest/lua.h include/asttest/testsuite.h include/asttest/lua/*.h
-	$(CC) $(CFLAGS) -o $@ \
+	$(CC) $(CFLAGS) -c -o $@ \
 	-DLUAFILESYSTEM_HEADER=\"../$(LUAFILESYSTEM_HEADER)\" \
 	-DLUASOCKET_HEADER=\"../$(LUASOCKET_HEADER)\" \
 	-DLUAPOSIX_HEADER=\"../$(LUAPOSIX_HEADER)\" \




More information about the asterisk-commits mailing list