summaryrefslogtreecommitdiff
path: root/userland/sftp/Makefile
blob: c95d298b2fc04a85769915e48ac36980f3640562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)