|
From: | Mike Gibson |
Subject: | Re: NU-B question about including other files |
Date: | Mon, 26 Jul 2004 11:53:34 -0600 |
User-agent: | Mozilla Thunderbird 0.6 (Windows/20040502) |
exception.o: $(EXCEPTION_H) $(CC) $(JMECFLAGS) -c $(EXCEPTION_C)
is the first rule, that is all it creates.What most folks do is to create a phony target "all" which depends on the file(s) that you want to create by default as the first rule in the file:
all : my_appThis will have the effect of trying to make my_app, which will trigger the other rules and so forth down the line until make has come up with a sequence of commands to run.
Mike Gibson
[Prev in Thread] | Current Thread | [Next in Thread] |