lua-users home
lua-l archive

Re: Problem with my first program

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


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}

AltStyle によって変換されたページ (->オリジナル) /