experiment, swim, swig, pymod, etc.) are passed along to sub-makes correctly. Also, a mechanism has been devised to avoid the use of *.o in the toplevel Makefile, as it was linking files which were not intended for use in the final executable. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
30 lines
735 B
Makefile
30 lines
735 B
Makefile
# Generated automatically from Makefile.in by configure.
|
|
|
|
CC = @CC@
|
|
AR = @AR@
|
|
RANLIB = @RANLIB@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
RPATH = @RPATH@
|
|
SO = @SO@
|
|
CCSHARED = @CCSHARED@
|
|
LDSHARED = @LDSHARED@
|
|
INCLUDE = -I. -I../Swig -I../DOH/Include
|
|
|
|
SRCS = expr.c cpp.c
|
|
OBJS = expr.o cpp.o
|
|
|
|
.c.o:
|
|
$(CC) $(CCSHARED) $(INCLUDE) $(CFLAGS) -c -o $*.o $<
|
|
|
|
#####################################################################
|
|
# TARGET: swig
|
|
#####################################################################
|
|
# friendly to the toplevel makefile
|
|
all: swig
|
|
swig: $(OBJS)
|
|
for i in $(OBJS); do echo Source/Preprocessor/$$i >> $(OBJS_FILE); done
|
|
|
|
clean:
|
|
rm -f *.o *~ core *.so *.a
|
|
|