summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrefetch2023-07-24 16:23:27 +0200
committerPrefetch2023-07-24 16:23:27 +0200
commita211da8cfe9b0565881537cc81b09ae55c722111 (patch)
tree90c05adac663125fc4f0604edb01431c2dcbc9af
parent7231a21b00028a52d7938131bfeca4d663d09071 (diff)
Rename lib/ to src/ (better for Tab-completion)
-rw-r--r--.gitignore2
-rw-r--r--Makefile6
-rw-r--r--src/lock_acquire.asm (renamed from lib/lock_acquire.asm)0
-rw-r--r--src/lock_release.asm (renamed from lib/lock_release.asm)0
-rw-r--r--src/thread_create.asm (renamed from lib/thread_create.asm)0
-rw-r--r--src/thread_finish.asm (renamed from lib/thread_finish.asm)0
6 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index fab3e1d..422c49d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-/lib/*.o
+/src/*.o
/liblinen.so
/tests/*.run
diff --git a/Makefile b/Makefile
index 33fe35b..6b1b0a5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-liblinen.so: lib/thread_create.o lib/thread_finish.o lib/lock_acquire.o lib/lock_release.o
+liblinen.so: src/thread_create.o src/thread_finish.o src/lock_acquire.o src/lock_release.o
gcc -shared -o $@ $^
-lib/%.o: lib/%.asm
+src/%.o: src/%.asm
nasm -f elf64 $<
tests/%.run: tests/%.c liblinen.so linen.h
@@ -14,4 +14,4 @@ tests: tests/test01.run
clean:
rm -f tests/*.run
rm -f liblinen.so
- rm -f lib/*.o
+ rm -f src/*.o
diff --git a/lib/lock_acquire.asm b/src/lock_acquire.asm
index f32ba6a..f32ba6a 100644
--- a/lib/lock_acquire.asm
+++ b/src/lock_acquire.asm
diff --git a/lib/lock_release.asm b/src/lock_release.asm
index f86caa2..f86caa2 100644
--- a/lib/lock_release.asm
+++ b/src/lock_release.asm
diff --git a/lib/thread_create.asm b/src/thread_create.asm
index 9a6fe78..9a6fe78 100644
--- a/lib/thread_create.asm
+++ b/src/thread_create.asm
diff --git a/lib/thread_finish.asm b/src/thread_finish.asm
index 860b0a4..860b0a4 100644
--- a/lib/thread_finish.asm
+++ b/src/thread_finish.asm