Tolua compiled fine (After some tweaking).
tolua -n SDL -o SDL_tolua.c SDL.pkg
cl /nologo -c SDL_tolua.c -I../../../tolua/include -I../../lua-4.0-loadmodule/include
make: cl: Command not found
make: *** [SDL_tolua.obj] Error 127
Thats my problem from trying to 'make' luaSDL.
When I go to edit the config.mak to see what 'cl' is, I notice that its checking for linux, and if it isn't, its guessing I'm on windows!
ifndef TU_TESTBED_COMPILER
ifndef $(OSTYPE)
OSTYPE = $(shell uname)
endif
OSTYPE := $(patsubst Linux, linux, $(OSTYPE))
ifneq (,$(findstring linux, $(OSTYPE)))
TU_TESTBED_COMPILER = gcc
else
TU_TESTBED_COMPILER = msvc
endif
endif
How would I change this? If I type 'echo $OSTYPE' I get: darwin9.0
Wouldn't it work just fine if I changed
ifneq (,$(findstring linux, $(OSTYPE)))
to
ifneq (,$(findstring darwin9.0, $(OSTYPE)))
?
Thanks,
Tim.
--
--Brains.