#######################################################################
# $Header: /cvsroot/swill/SWILL/Source/Objects/Makefile.in,v 1.4 2006/12/21 21:07:03 gonzalodiethelm Exp $
# DOH
#######################################################################

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      = gcc
CCSHARED= -fpic
prefix     = /usr/local

# 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

INCLUDE  = -I.
CFLAGS   = -g -O2
SHELL  = /bin/sh

#
# Rules for creation of a .o file from .c
.SUFFIXES: .c
.c.o:
	$(CC) $(CCSHARED) $(DOHOPT) $(INCLUDE) $(CFLAGS) -c -o $*.o $<

first: all

all: $(LIBOBJS)

clean::
	rm -f *.o a.out core $(LIB)

nuke:: clean
	rm -f Makefile *~ #*
