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

############################################################
# Defintions
############################################################
SRCS	=	data.c \
		dump.c \
		help.c \
		xemprc.c

OBJS	=	data.o \
		dump.o \
		help.o \
		xemprc.o


LIB	=	../libdata.a

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

default: lib

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

all lib: $(LIB)

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

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