K
Khookie
Hi
I'm sure not if this is the right newsgroup since this is (possibly) a
question about make, but hopefully someone here might know the best
way about this.
I've built a program that compiles well on my Ubuntu PC.
However, I also wanted to compile it on my Mac (which has MacPorts
installed & the necessary libraries installed).
Now with MacPorts, all the include/lib paths are different, hence the
makefile I have doesn't work too well unless I create another one
(which I've done for now).
Is there a way I can just have one makefile, which has both settings,
and can compile accordingly?
Cheers
Chris
I'm sure not if this is the right newsgroup since this is (possibly) a
question about make, but hopefully someone here might know the best
way about this.
I've built a program that compiles well on my Ubuntu PC.
However, I also wanted to compile it on my Mac (which has MacPorts
installed & the necessary libraries installed).
Now with MacPorts, all the include/lib paths are different, hence the
makefile I have doesn't work too well unless I create another one
(which I've done for now).
Is there a way I can just have one makefile, which has both settings,
and can compile accordingly?
Cheers
Chris