summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d8d5906
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+# Define SMALL to disable command line editing
+#CFLAGS+=-DSMALL
+
+PROG= ftp
+SRCS= cmd.c file.c ftp.c http.c main.c progressmeter.c url.c util.c xmalloc.c
+
+LDADD+= -ledit -lcurses -lutil -ltls -lssl -lcrypto
+DPADD+= ${LIBEDIT} ${LIBCURSES} ${LIBUTIL} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO}
+
+regression-tests:
+ @echo Running regression tests...
+ @cd ${.CURDIR}/regress && ${MAKE} depend && exec ${MAKE} regress
+
+.include <bsd.prog.mk>