lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



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


12.4.2005 kello 10:30, Julien MARBACH kirjoitti:

 Julien MARBACH a écrit :

Forget it, it's explained in the config file...... I need some sleep !

# OS dependent
LIB_EXT= .dylib
#LIB_EXT= .so
LIB_OPTION= -dynamiclib #for MacOS X
#LIB_OPTION= -shared #for Linux

Julien