mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
ba0c53550f
code with Lua. Based on a "cleaned" header file, toLua automatically generates the binding code to access C/C++ features from Lua. Using Lua-5.0 API and tag method facilities, the current version automatically maps C/C++ constants, external variables, functions, namespace, classes, and methods WWW: http://www.tecgraf.puc-rio.br/~celes/tolua/
28 lines
837 B
Plaintext
28 lines
837 B
Plaintext
--- src/tests/Makefile.orig Wed Feb 11 23:01:58 2004
|
|
+++ src/tests/Makefile Sun Nov 21 19:17:49 2004
|
|
@@ -4,7 +4,7 @@
|
|
|
|
include $(TOLUA)/config
|
|
|
|
-LIBS = -ltolua -llua -llualib
|
|
+LIBS = -ltolua -llua -llualib -lm
|
|
|
|
all: tmodule tnamespace tclass tconstant tvariable tfunction tarray tdirective
|
|
./tmodule; ./tnamespace; ./tclass; ./tconstant; ./tvariable; ./tfunction; ./tarray; ./tdirective;
|
|
@@ -25,7 +25,7 @@
|
|
$(TOLUA)/bin/tolua -o $@ $<
|
|
|
|
tnamespace: tnamespace.o tnamespacebind.o
|
|
- $(CC) $(CPPFLAGS) -o $@ tnamespace.o tnamespacebind.o $(TLIB) $(LIB) $(LIBS)
|
|
+ $(CC) $(CPPFLAGS) -Iedwin -o $@ tnamespace.o tnamespacebind.o $(TLIB) $(LIB) $(LIBS)
|
|
tnamespacebind.cpp: tnamespace.pkg
|
|
$(TOLUA)/bin/tolua -o $@ $<
|
|
|
|
@@ -61,6 +61,3 @@
|
|
|
|
klean:
|
|
rm -f tmodule tnamespace tclass tconstant tvariable tfunction tarray tdirective
|
|
-
|
|
-
|
|
-
|