swig/SWIG/Source/DOH/Doh/Makefile.in
Dave Beazley e2fa1f21e8 Update for SWILL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@1068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-03-27 03:49:37 +00:00

54 lines
1.3 KiB
Makefile

#######################################################################
# $Header$
# DOH
#######################################################################
srcdir = @srcdir@
VPATH = @srcdir@
#.KEEP_STATE:
# Set your C++ compiler here. g++ works on most machines,
# but you might have to change it depending on your installation.
#
CC = @CC@
prefix = @prefix@
# Comment out the following line if you're on an SGI or don't have ranlib!
RANLIB = @RANLIB@
AR = @AR@
DOHOPT =
########################################################################
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = void.o fio.o memory.o base.o file.o list.o hash.o string.o
LIBSRCS = void.c fio.c memory.c base.c file.c list.c hash.c string.c
LIBHEADERS = $(srcdir)/../Include/doh.h
LIB = libdoh.a
INCLUDE = -I$(srcdir)/../Include
CFLAGS = @CFLAGS@
SHELL = /bin/sh
#
# Rules for creation of a .o file from .c
.SUFFIXES: .c
.c.o:
$(CC) $(DOHOPT) $(INCLUDE) $(CFLAGS) -c -o $*.o $<
all: $(LIB)
$(LIB): $(LIBOBJS)
@echo "Building library"
$(AR) cr $(LIB) $(LIBOBJS)
$(RANLIB) $(LIB)
cp -f $(LIB) ..
clean::
rm -f *.o $(LIB) ../$(LIB)
nuke::
rm -f Makefile *~ #* core a.out