lua-users home
lua-l archive

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


I'm browsing the makefiles for Lua to help me understand how they work. I have 
a quick question. I see where the dependancies are defined for the Lua 
library: 
 
T= $(LIB)/liblualib.a 
 
all: $T 
 
$T: $(OBJS) 
	$(AR) $@ $(OBJS) 
	$(RANLIB) $@ 
 
 
I found the definitions in the config file for compiler warnings etc..., but 
where do you tell make how to compile the C files? I don't see anything 
overriding suffixes for example. 
 
I know I'm just being blind, but this is really stumping me! 
 
Thanks 
Mike