Linux_sys_prog

This commit is contained in:
2024-02-08 12:11:15 +05:30
parent 250a30319a
commit fcc3bca6f2
10 changed files with 705 additions and 0 deletions

13
gluethread/Makefile Normal file
View File

@@ -0,0 +1,13 @@
TARGET:liblist.a exe
liblist.a:LinkedListApi.o
ar rs liblist.a LinkedListApi.o
exe:main.o liblist.a
gcc -g main.o -o exe -L . -llist
LinkedListApi.o:LinkedListApi.c
gcc -g -c -I . LinkedListApi.c -o LinkedListApi.o
main.o:main.c
gcc -g -c -I . main.c -o main.o
clean:
rm *.o
rm exe
rm liblist.a