   FRIENDSDEF = -DFRIENDSFILE='"<DPS/dpsfriends.h>"'
EXTRA_DEFINES = -DXENVIRONMENT
      DEPLIBS =

SRCS = main.c pswparser.y lexer.l pswdict.c pswfile.c yyerror.c \
	systemnames.c psw.c pswstring.c pswsemantics.c

OBJS = main.o pswparser.o lexer.o pswdict.o pswfile.o yyerror.o \
	systemnames.o psw.o pswstring.o pswsemantics.o

ComplexProgramTarget(pswrap)

SpecialObjectRule(pswfile.o, , $(FRIENDSDEF))

lexer.c : lexer.l
	${LEX} lexer.l
	${MV} lex.yy.c $@

y.tab.h pswparser.c : pswparser.y
	${YACC} -d pswparser.y
	${MV} y.tab.c pswparser.c
	
clean ::
	${RM} lexer.c y.tab.h pswparser.c
