From d572e3148c16587ab3a2f8bd22b29fef369ccab6 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Tue, 31 Dec 2024 16:14:25 +0100 Subject: sftp: Add sftp server --- userland/sftp/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 userland/sftp/Makefile (limited to 'userland/sftp/Makefile') diff --git a/userland/sftp/Makefile b/userland/sftp/Makefile new file mode 100644 index 0000000..c95d298 --- /dev/null +++ b/userland/sftp/Makefile @@ -0,0 +1,16 @@ +CC=i686-sb-gcc +OBJ = sftp.o handle.o +CFLAGS = -Wall -Wextra -pedantic -Werror +LDFLAGS= + +all: sftp + +%.o: %.c + clang-format -i $< + $(CC) -c -o $@ $< $(CFLAGS) + +sftp: $(OBJ) + $(CC) $(LDFLAGS) -o $@ $(CFLAGS) $^ + +clean: + rm sftp $(OBJ) -- cgit v1.2.3