troubleshooting Question

how to create make in C

Avatar of kinghalls
kinghalls asked on
267 Comments1 Solution409 ViewsLast Modified:
I am asked to develop a code that will allow me to process a makefile, just like make.. but it;s called mymake.. so how can I do this? how can I read those unix command line? I am thinking of doing this recursively, so first I check to see what the makefile looks like and then it will try to find the target that needs to be build and find all the association that needs to be build.. then this set of rules will be put into a hashtable.

What I am confused is that how can I exectute unix command using C?
Join our community to see this answer!
Unlock 1 Answer and 267 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 267 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros