swig/Makefile.in
Dave Beazley 5a3efdf184 Fixed objs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@40 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-11 21:19:17 +00:00

52 lines
1.2 KiB
Makefile

#######################################################################
# $Header$
# Simplified Wrapper and Interface Generator (SWIG)
#
#######################################################################
TARGET = swig
SHELL = /bin/sh
CC = @CC@
CXX = @CXX@
LIBS =
#
#
#
SWIGOBJS = Source/SWIG1.1/*.o Source/Modules1.1/*.o Source/DOH/Doh/*.o Source/Core/*.o Source/Preprocessor/*.o
swig: objs
$(CXX) $(SWIGOBJS) $(LIBS) -o $(TARGET)
objs:
@ORIG_DIR=`pwd`; \
for i in `ls Source/`; \
do \
if [ -d Source/$$i -a -f Source/$$i/Makefile ]; then \
(cd Source/$$i && $(MAKE)) || exit 1; \
cd $$ORIG_DIR ;\
fi \
done;
clean:
@ORIG_DIR=`pwd`; \
for i in `ls Source/`; \
do \
if [ -d Source/$$i -a -f Source/$$i/Makefile ]; then \
(cd Source/$$i && $(MAKE) clean) || exit 1; \
cd $$ORIG_DIR ;\
fi \
done;
rm -f swig
nuke:
@ORIG_DIR=`pwd`; \
for i in `ls Source/`; \
do \
if [ -d Source/$$i -a -f Source/$$i/Makefile ]; then \
(cd Source/$$i && $(MAKE) nuke) || exit 1; \
cd $$ORIG_DIR ;\
fi \
done;
rm -f Makefile Makefile.template config.*