############################################################
# Makefile for commands
############################################################
# $Header$
############################################################

############################################################
# Defintions
############################################################
SRCS= census.c \
		deliver.c \
		distribute.c \
		human.c \
		land.c \
		main.c \
		mobility.c \
		plane.c \
		populace.c \
		produce.c \
		revolt.c \
		sect.c \
		ship.c

OBJS= census.o \
		deliver.o \
		distribute.o \
		human.o \
		land.o \
		main.o \
		mobility.o \
		plane.o \
		populace.o \
		produce.o \
		revolt.o \
		sect.o \
		ship.o

LIB	=	../libupdate.a

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

default: lib

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

all lib: $(LIB)

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

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