Обсуждение: Speaking of contrib Makefiles

Поиск
Список
Период
Сортировка

Speaking of contrib Makefiles

От
"Magnus Hagander"
Дата:
both cube and seg seems to do some funky stuff with flex/bison, if I'm
not entirely mistaken. Cube, for example, uses a rule that builds
"cubeparse.o" from "cubescan.c". (which in turnis built from flex/bison
files).

Is there any reason why we don't build a file called "cubescan.o" from
"cubescan.c" and thus simplify the rules a bit?

//Magnus



Re: Speaking of contrib Makefiles

От
"Magnus Hagander"
Дата:
> both cube and seg seems to do some funky stuff with
> flex/bison, if I'm not entirely mistaken. Cube, for example,
> uses a rule that builds "cubeparse.o" from "cubescan.c".
> (which in turnis built from flex/bison files).
>
> Is there any reason why we don't build a file called
> "cubescan.o" from "cubescan.c" and thus simplify the rules a bit?

Hmm. I shold recall this one. I'm just reading the makefile wrong - all
it says is that there is a dependency between them. Oops. Time to crawl
back under that rock...

//magnus