############################################################
# Makefile for census
############################################################
# $Header$
############################################################

############################################################
# Defintions
############################################################

SRCS	=	army.c \
                census.c \
                deity.c \
                fleet.c \
                land.c \
                misc.c \
                nuke.c \
                plane.c \
                sector.c \
                ship.c \
                wing.c

OBJS	=	army.o \
                census.o \
                deity.o \
                fleet.o \
                land.o \
                misc.o \
                nuke.o \
                plane.o \
                sector.o \
                ship.o \
                wing.o

LIB	=	../libcensus.a

############################################################
# Rules
############################################################

default: lib

clean:
	rm -f $(OBJS) $(LIB)

all lib: $(LIB)

$(LIB): $(OBJS)
	$(AR) rv $@ $(OBJS)
	$(RANLIB) $@

depend:
	$(DEPEND) $(CFLAGS) $(SRCS)
