summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2024-09-14 12:32:01 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2024-09-14 12:32:01 +0530
commit8f888fb1a3469b87e557efad93b293dd36288ba9 (patch)
tree6e8da124b6e9bb7ffe7a77f6e0c8cd811873cd06 /Makefile
A HTTP(S), FTP client
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>