first commit

This commit is contained in:
2021-08-29 00:02:47 +08:00
commit 01e8b33396
52 changed files with 4404 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
CC=gcc
obj=console.o test.o
target=test
CFLAGS=-Wall
$(target):$(obj)
@$(CC) $^ -o $@ $(CFLAGS)
test.o:test.c
@$(CC) -c $< -o $@ $(CFLAGS)
console.o:console.c
@$(CC) -c $< -o $@ $(CFLAGS)
clean:
@rm $(obj) $(target)