[svn:parrot] r46239 - trunk/examples/embed

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon May 3 17:03:36 UTC 2010


Author: NotFound
Date: Mon May  3 17:03:35 2010
New Revision: 46239
URL: https://trac.parrot.org/parrot/changeset/46239

Log:
use ccwarn in examples/embed

Modified:
   trunk/examples/embed/Makefile

Modified: trunk/examples/embed/Makefile
==============================================================================
--- trunk/examples/embed/Makefile	Mon May  3 16:35:23 2010	(r46238)
+++ trunk/examples/embed/Makefile	Mon May  3 17:03:35 2010	(r46239)
@@ -12,6 +12,7 @@
 
 CC = $(shell parrot_config cc)
 CCFLAGS = $(shell parrot_config ccflags)
+CCWARN = $(shell parrot_config ccwarn)
 LD = $(shell parrot_config ld)
 LD_OUT = $(shell parrot_config ld_out)
 LINKFLAGS = $(shell parrot_config inst_libparrot_linkflags) $(shell parrot_config rpath_lib)
@@ -28,7 +29,7 @@
 #-----------------------------------------------------------------------
 
 cotorra$(O): cotorra.c
-	$(CC) $(CCFLAGS) -c -I $(INCLUDEDIR) cotorra.c
+	$(CC) $(CCFLAGS) $(CCWARN) -c -I $(INCLUDEDIR) cotorra.c
 
 cotorra$(EXE): cotorra$(O)
 	$(LD) $(LD_OUT)cotorra$(EXE) cotorra$(O) $(CONFIG)$(O) $(LINKFLAGS)


More information about the parrot-commits mailing list