summaryrefslogtreecommitdiff
path: root/CCache/Makefile.in
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2008-11-22 12:17:48 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2008-11-22 12:17:48 +0000
commita41c66d9a4ea3a9148b407c24a9ee1d41407c9e2 (patch)
treec2b62ee69417a951a4e14e187b799f426c0fd753 /CCache/Makefile.in
parent25c972d919c98b171a5bc759730992ceec6d57da (diff)
downloadswig-a41c66d9a4ea3a9148b407c24a9ee1d41407c9e2.tar.gz
fix env variable settings and add swig tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'CCache/Makefile.in')
-rw-r--r--CCache/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/CCache/Makefile.in b/CCache/Makefile.in
index c085b8b18..6373247e2 100644
--- a/CCache/Makefile.in
+++ b/CCache/Makefile.in
@@ -11,6 +11,8 @@ PACKAGE_NAME=@PACKAGE_NAME@
CC=@CC@
CFLAGS=@CFLAGS@ -I.
+SWIG=swig
+SWIG_LIB=../../Lib
EXEEXT=@EXEEXT@
LIBS= @LIBS@
@@ -41,8 +43,10 @@ install: $(PACKAGE_NAME)$(EXEEXT) $(PACKAGE_NAME).1
clean:
/bin/rm -f $(OBJS) *~ $(PACKAGE_NAME)$(EXEEXT)
+check : test
+
test: test.sh
- CC='$(CC)' ./test.sh
+ SWIG_LIB='$(SWIG_LIB)' PATH=../..:$$PATH SWIG='$(SWIG)' CC='$(CC)' ./test.sh
check: test