.include ../../global.mak

SYMDBG	= -g -mleaf-procedures -mtail-call

#------------------------------------------------------------------------------
# TARG OBJECT FILES
#------------------------------------------------------------------------------

TARG =	../lib/libutil.a

OBJS =	menuparse.o askdate.o asklevel.o askunsigned.o askint.o \
	askyesno.o askchar.o askip.o messages.o asknid.o asktimeoff.o \
	askburndate.o askport4.o askenable.o

${TARG}: ${OBJS}
	${AR} ${ARFLAGS} ${TARG} ${OBJS}

#------------------------------------------------------------------------------
# HEADER-FILE DEPENDENCIES
#------------------------------------------------------------------------------

menuparse.o:	makefile ${IDIR2}/menuparse.h ${IDIR2}/defines.h

askdate.o:	makefile

asklevel.o:	makefile

askunsigned.o:	makefile

askint.o:	makefile

askyesno.o:	makefile

askchar.o:	makefile

askip.o:	makefile ${IDIR2}/types.h

messages.o:	makefile

asknid.o:	makefile ${IDIR2}/types.h

asktimeoff.o:	makefile

askburndate.o:	makefile

askport4.o:	makefile ${IDIR1}/sys.h ${IDIR1}/target.h ${IDIR2}/dbd.h

askenable.o:	makefile

clean:
	rm -f *.o ${TARG}
