swig/Makefile.in
Dustin Mitchell c4a023be78 Moved Makefiles and configure.in to the top level, and added .cvsignore
files to most subdirectories to make things a bit cleaner.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@37 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-11 20:51:24 +00:00

52 lines
1.1 KiB
Makefile

#######################################################################
# $Header$
# Simplified Wrapper and Interface Generator (SWIG)
#
#######################################################################
TARGET = swig
SHELL = /bin/sh
CC = @CC@
CXX = @CXX@
LIBS =
#
#
#
SWIGOBJS = SWIG1.1/*.o Modules1.1/*.o DOH/Doh/*.o Core/*.o 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.*