swig/SWIG/Source/Makefile.in
Dave Beazley 0f5fef9c32 Fixed object files.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@36 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-11 20:15:07 +00:00

46 lines
862 B
Makefile

#######################################################################
# $Header$
# Simplified Wrapper and Interface Generator (SWIG)
#
#######################################################################
TARGET = swig
SHELL = /bin/sh
CC = @CC@
CXX = @CXX@
LIBS =
#
#
#
DIRS = DOH Core Preprocessor SWIG1.1 Modules1.1
SWIGOBJS = SWIG1.1/*.o Modules1.1/*.o DOH/Doh/*.o Core/*.o Preprocessor/*.o
swig: objs
$(CXX) $(SWIGOBJS) $(LIBS) -o $(TARGET)
objs:
@for i in $(DIRS); \
do \
cd $$i; $(MAKE); cd .. ;\
done;
clean:
@for i in $(DIRS); \
do \
cd $$i; $(MAKE) clean; cd ..; \
done;
rm -f swig
nuke: clean
@cd SWIG; $(MAKE) nuke
@cd Modules; $(MAKE) nuke
@cd Examples; $(MAKE) nuke
@cd Tests; $(MAKE) clean
@cd Runtime; $(MAKE) clean
rm -f Makefile Makefile.template config.*