[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luafilesystem makefile issue
- From: Raffaello <luaml@...>
- Date: 12 Apr 2005 11:12:22 +0200
Asko Kauppi <asko.kauppi@sci.fi> writes:
> Why, oh why cannot people use conditionals in the Makefiles so users
> wouldn't need to go and configure?
>
> I mean.. I just have this "best manuals are the ones you don't need to
> read" attitude.
>
> # ---
> # OS detection
> #
> UNAME= $(shell uname)
>
> ifeq "$(UNAME)" "Linux"
> ...
> endif
> ifeq "$(UNAME)" "Darwin"
> ...
> endif
> ifneq "" "$(findstring BSD,$(UNAME))"
> ...
> endif
Because it works only with GNU Make ?
--
Raffaello