初次提交

This commit is contained in:
2022-05-07 13:18:59 +08:00
commit 2387620fa2
12 changed files with 1097 additions and 0 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
CFLAGS += -g -O2 -Wall
LIBS = -lssh
OBJ := remote_libssh
all: main.o
$(CC) $(CFLAGS) -o $(OBJ) $^ $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c $<
clean:
rm -rf *.o
rm $(OBJ)