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

############################################################
# Defintions
############################################################
SRCS= LLgen.c \
		Lpars.c \
		expr.c \
		get_token.c \
		lex.c \
		program.c \
		run_all.c \
		symtab.c

OBJS= LLgen.o \
		Lpars.o \
		expr.o \
		get_token.o \
		lex.o \
		program.o \
		run_all.o \
		symtab.o

LIB	=	../libparse.a

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

default: lib

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

all lib: $(LIB)

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

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