It's not an issue with the makefile, coz' it executes properly when run
independently. It compiles my source file and creates a .exe.

*This is my makefile*:
all: hello
hello: helloWorld.o
        gcc helloWorld.o -o hello
helloWorld.o: helloWorld.c
        gcc -c helloWorld.c
clean:
        rm -rf *o hello


*Now, I want to trigger this makefile through Maven. The compilation will be
done by the makefile and not Maven. Maven should just trigger it.*
When I run 'mvn install', This is what I see in the target folder:
  http://maven.40175.n5.nabble.com/file/n5666817/untitled.bmp 

It creates a .jar file. I am confused!

--
View this message in context: 
http://maven.40175.n5.nabble.com/How-can-I-trigger-a-makefile-through-Maven-is-there-any-plugin-for-this-tp5663921p5666817.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to