Subject:
|
Re: Recommended change to MAKEFILE
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 3 Mar 2000 08:39:52 GMT
|
Viewed:
|
1318 times
|
| |
| |
Rossz Vámos-Wentworth wrote:
> I recomend this change:
>
> # for the kernel
> .depend:
> $(CC) -M $(CFLAGS) -c $(LEGOS_ROOT)kernel/*.c >.depend
>
> # for a typecial program
> .depend:
> $(CC) -M $(CFLAGS) -c *.c >.depend
>
> This simple changes has three advantages. 1. The program MAKEDEPEND is
> no longer required. 2. The Perl script "FIXDEPS" is not needed. 3. The
> dependency list will be created using the same search path as when the
> compile occurs.
imho, a very good idea. Perhaps you should check that in to CVS ?
-- Martin
|
|
Message has 2 Replies: | | Re: Recommended change to MAKEFILE
|
| (...) Martin, Rossz, you guys both now are registered and have CVS write access. Be aware that sourceforge changes those things with a cron job that runs every six hours or so, so it may be a few hours before you /actually/ have write access. Enjoy (...) (25 years ago, 3-Mar-00, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Recommended change to MAKEFILE
|
| Currently, legOS uses this in the makefile: # for the kernel .depend makedepend $(LEGOS_ROOT)kernel/*.c -Y $(CINC) -f- | $(FIXDEPS) $(LEGOS_ROOT)kernel/ > .depend # for a typical program .depend: makedepend *.c -Y $(CINC) -f- | $(FIXDEPS) (...) (25 years ago, 2-Mar-00, to lugnet.robotics.rcx.legos)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|