LMAINTOPS:=	all clean
LIBNAME:=	libdes.a
RPAR:=)
LPAR:=(
SOURCES:=	$(wildcard *.c)
OBJS:=	$(addsuffix .o,$(basename $(SOURCES)))
S_FILES:=	$(addsuffix .s,$(basename $(SOURCES)))
ARS:=	$(addprefix $(LIBNAME)$(LPAR),$(addsuffix $(RPAR),$(OBJS)))
PRINTFILES:=	des-private.h des.h $(SOURCES)

.PHONY:	all

all-local:	$(LIBNAME)(__.SYMDEF) $(OBJS)

include Makerules

clean-local:
	rm -f $(LIBNAME) $(OBJS)

$(LIBNAME)(%.o):	%.o

$(LIBNAME)(__.SYMDEF):	$(ARS)
	ranlib $(LIBNAME)
