To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 936
935  |  937
Subject: 
Re: Another possible makefile change
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 12 Mar 2000 21:26:57 GMT
Viewed: 
1998 times
  
$OS in DJGPP running on a Windows 95 system returns nothing. :(

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)
endif

# Linux, IRIX
CC = cc

CFLAGS=-O2 -Wall

#
# WindowsNT/Cygnwin, test against several values:
#
ifneq (,$(findstring $(OSTYPE),cygwin32 CYGWIN_NT-4.0 WindowsNT Windows_NT))
EXT=.exe
CC =gcc
endif

ifneq (,$(findstring $(OSTYPE),MSDOS))
#
# Put here DJPP defines
# --------------------------

# --------------------------
endif

MAKEDEPEND =$(CC) -M
--- cut

I think it should work...

I'm ready for commit, but I'm reading docs about branching stuff, before.
Anyone (like Marcus for example :-) ), have some hints?

Bye,
     Paolo.

---
It works better if you plug it in.



Message is in Reply To:
  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)

9 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR