diff options
author | Anton Kling <anton@kling.gg> | 2024-12-31 16:14:25 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-31 16:14:25 +0100 |
commit | d572e3148c16587ab3a2f8bd22b29fef369ccab6 (patch) | |
tree | f48907067945c469b59921395068c0dd0ada6913 /userland/sftp/Makefile | |
parent | 4b1577f80962e8cce055fdb4d6f641187df0bbe0 (diff) |
Diffstat (limited to 'userland/sftp/Makefile')
-rw-r--r-- | userland/sftp/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
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) |