Re: What to do with 3c59x.c?

From: Andrew Morton (andrewm@uow.edu.au)
Date: Wed Apr 12 2000 - 20:18:39 EST


Aaron Denney wrote:
>
> On Thu, 13 Apr 2000 01:14:13 +1000, Andrew Morton <andrewm@uow.edu.au> wrote:
> > It appears the best way to compile one .c file into two .o files is to
> > add a special makefile target:
> >
> > 3c575_cb.o: ../3c59x.c
> > $(CC) $(CFLAGS) -D__NO_VERSION__ -DPCMCIA -c -o $@ ../3c59x.c
>
> Can you please write the rule as:
> 3c575_cb.o: ../3c59x.c
> $(CC) $(CFLAGS) -D__NO_VERSION__ -DPCMCIA -c -o $@ $<

Good point.

But creation of a special make target is poor form. The current
thinking is that we will remove 3c575_cb.* altogether, so there is no
need to make the above change.

This topic is probably getting a bit eye-glazing, so I'm tending to take
it off-list until it's sorted.

-- 
-akpm-

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:20 EST