Re: Problem with my first program
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Problem with my first program
- From: "Roger D. Vargas" <rogerdv@...>
- Date: 2002年12月23日 12:20:33 -0500
El Lun 23 Dic 2002 12:13, Eero Pajarre escribi?:
> The only thing I can suggest is taking the lua source and adding
> the src/lib source files directly to your makefile (or what ever
> you use for building your program)
>
Here is my makefile:
CC = g++
CPATH = -I/usr/include
CLIBS = -llua -llualib
CFLAGS = -O3 -Wall
SOURCES = scripting.c
all: luat
clean:
rm -f *.o
rm scripting
luat: ${SOURCES}
${CC} ${CFLAGS} -o scripting ${CPATH} ${SOURCES} ${CLIBS}