swig/SWIG/Source/Swig/Makefile.in
Dustin Mitchell e424c5bc21 Added code to suck up a Dave-Type-String and create a real type from it.
Should mostly work, probably needs some minor debuggering.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-14 23:17:48 +00:00

41 lines
1 KiB
Makefile

# ---------------------------------------------------------------
# $Header$
#----------------------------------------------------------------
srcdir = @srcdir@
VPATH = @srcdir@
SRCS = tree.c stype.c scanner.c include.c getopt.c misc.c super.c
OBJS = tree.o stype.o scanner.o include.o getopt.o misc.o super.o
prefix = @prefix@
exec_prefix = @exec_prefix@
CC = @CC@
AR = @AR@
RANLIB = @RANLIB@
CFLAGS = @CFLAGS@
INCLUDE = -I$(srcdir)/. -I$(srcdir)/../DOH/Include
TARGET = libswig.a
.c.o:
$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $<
all: $(TARGET)
$(TARGET): $(OBJS)
$(AR) cr $(TARGET) $(OBJS)
$(RANLIB) $(TARGET)
supertest: super.c
$(CC) $(CCSHARED) $(INCLUDE) $(CFLAGS) -g -DSUPER_TEST -c \
-o supertest.o super.c
$(CC) supertest.o -ldoh -o supertest
typetest: type.c super.o stype.o
$(CC) $(CCSHARED) $(INCLUDE) $(CFLAGS) -g -DTYPE_TEST -c \
-o typetest.o type.c
$(CC) typetest.o super.o stype.o -ldoh -o typetest
clean:
rm -f *.o *~ core *.so *.a *_wrap.*