CC = g++ -Wall
OBJS = main.o welcome.o comport.o makescr.o initstr.o phonenum.o uidpw.o \
	mkoptions.o
TARG = PPPWizard

all: ${OBJS}
	${CC} -lncurses -o ${TARG} ${OBJS}

install:
	mkdir /root/.pppd
	chmod 700 /root/.pppd
	cp chat.scr /root/.pppd/chat.scr
	cp options /etc/ppp

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