Subject:
|
Re: Another possible makefile change
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Wed, 8 Mar 2000 09:20:36 GMT
|
Viewed:
|
1414 times
|
| |
| |
"Rossz Vámos-Wentworth" wrote:
> Add this to makefile.common:
>
> OSTYPE := $(shell uname)
>
> Later, when building the executible, we can reference the correct filename,
> regardless of the OS:
>
> {makefile in dll-src directory}
>
> ifeq ($(OSTYPE),MS-DOS)
> EXT = .EXE
> else
> EXT =
> endif
great, Rossz, but i see one little problem here. I'm suspecting that
it's no good idea to include Makefile.common in the Makefile for
dll-src, because Makefile.common sets some standard Variables and rules
to values appropriate for cross compiling only. Perhaps we should put
the OSTYPE := $(shell uname) in Makefile.common and the dll-src Makefile
as well.
-- Martin
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: Another possible makefile change
|
| (...) Then for cross plateform compatibility, we should modify all the references to perl script to include the program name. It doesn't hurt Linux, and is essential in a DOS shell. (...) I researched your 'uname' suggestion and came up with the (...) (25 years ago, 8-Mar-00, to lugnet.robotics.rcx.legos)
|
9 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
|
|
|
|