| | Another possible makefile change
|
|
Since under Windows we must specify the PERL program name, unlike Unix and variants which figure out what to do automagically, I suggest this change in makefile.common: Under Windows (assumes the perl program is on the PATH): PERL = perl Under (...) (25 years ago, 6-Mar-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: Another possible makefile change
|
|
(...) Although *nix system's try to figure out the interpreter for a script if you don't provide it, it doesn't harm to do so. Thus, actually you dont't have to distinct 2 cases here. We could simply use the MERGEMAP you suggest for all currently (...) (25 years ago, 7-Mar-00, to lugnet.robotics.rcx.legos)
|
|
| | 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)
|
|
| | Re: Another possible makefile change
|
|
(...) 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 (...) (25 years ago, 8-Mar-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: Another possible makefile change
|
|
Actually, you could replace $(shell uname) with $(OSTYPE). Markus. (25 years ago, 10-Mar-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: Another possible makefile change
|
|
(...) That doesn't work with the DJGPP Make program, unfortunately. Rossz (25 years ago, 10-Mar-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: Another possible makefile change
|
|
(...) I already modified my utils Makefiles for using $(OS) that for Windows NT gives "Windows_NT" (and, now, I'm ready to commit :-) ... ), but I don't know how $(OS) evaluate for Win9x. $(shell uname) does not give "MSDOS" under cygnwin: it gives (...) (25 years ago, 11-Mar-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: Another possible makefile change
|
|
$OS in DJGPP running on a Windows 95 system returns nothing. :( Paolo Masetti <paolom@pragmanet.it> wrote in message news:Fr97MG.2CE@lugnet.com... (...) (25 years ago, 11-Mar-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: Another possible makefile change
|
|
(...) Here is Makefile.common I've prepared for for utils: --- cut # Makefile.common # # 12.03.2000 - Paolo Masetti # # - Conditional make variable definitions based on $OSTYPE # # # DJGPP does not define OSTYPE # ifndef OSTYPE OSTYPE=$(shell uname) (...) (25 years ago, 12-Mar-00, to lugnet.robotics.rcx.legos)
|