lua-users home
lua-l archive

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


>where do you tell make how to compile the C files? I don't see anything 
>overriding suffixes for example. 

The Makefiles rely on implicit rules for turning .c into .o. All makes have
these rules, don't they?

"make -p" in my Linux machine gives this, among lots of other stuff.

 COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c

 %.o: %.c
 #  commands to execute (built-in):
	 $(COMPILE.c) $< $(OUTPUT_OPTION)

--lhf