aboutsummaryrefslogtreecommitdiff
path: root/lang/tolua50/files/patch-src::tests::Makefile
blob: a2aa53e7018d23d2e60decac0807adfb155a958e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- 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
-
-
-