diff options
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) |