#!/bin/sh

# Compile aftp with EDITLINE library (line editor and history)
# (if you don't have libreadline try this)

cd editline
make libedit.a
cd ..
gcc -o aftp -D__unix__ -DUSE_READLINE aftp1c.c ftplib.c -Leditline/ -ledit -ltermcap

