You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by hiren patel <hi...@yahoo.com> on 2005/08/01 04:44:05 UTC

how to use cc task in ANT?

HI,
 I want to compile .c file using ant. I have added cpptasks.jarand ant-contrib.jar  from in lib directory. 
 
I dont know how to use cc task in build.xml.
can anyody provide sample build.xml that compiles prog1.c and header1.h to an exe1 in the same directory?
 
 
 
 
Thanks,
hiren patel

		
---------------------------------
 Start your day with Yahoo! - make it your home page