Speaking of contrib Makefiles

Started by Magnus Haganderabout 19 years ago2 messages
#1Magnus Hagander
mha@sollentuna.net

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

#2Magnus Hagander
mha@sollentuna.net
In reply to: Magnus Hagander (#1)
Re: Speaking of contrib Makefiles

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