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

############################################################
# Defintions
############################################################
SRCS=		army.c \
		dump.c \
		fort.c \
		land.c \
		landbuild.c \
		landlist.c \
		landscan.c \
		llook.c \
		march.c \
		mark.c \
		mine.c \
		missing.c \
		mission.c \
		retreat.c \
		scrap.c \
		select.c \
		set.c \
		supply.c \
		work.c

OBJS= 		army.o \
		dump.o \
		fort.o \
		land.o \
		landbuild.o \
		landlist.o \
		landscan.o \
		llook.o \
		march.o \
		mark.o \
		mine.o \
		missing.o \
		mission.o \
		retreat.o \
		scrap.o \
		select.o \
		set.o \
		supply.o \
		work.o

LIB	=	../libland.a

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

default: lib

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

all lib: $(LIB)

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

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