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:
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|