[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question about Lua's makefiles
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 4 May 2003 11:52:13 -0300
>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