commit 60e1558ddfdff35f41351caffa35ff2d0beddca8
parent ba7e53b7c557e50e7942687059a8a3dd61730e34
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 13 Nov 2025 15:58:24 +0100
Fix the static build of the library
The target name of the object used to partially link the library was
incorrect.
Add the static library to the list of files that git should not track.
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -8,3 +8,4 @@ tags
test*
!test*.[ch]
scem
+*.a
diff --git a/Makefile b/Makefile
@@ -51,7 +51,7 @@ $(LIBNAME_STATIC): libscem.o
$(AR) -rc $@ $?
$(RANLIB) $@
-libsmsh.o: $(OBJ)
+libscem.o: $(OBJ)
$(LD) -r $(OBJ) -o $@
$(OBJCOPY) $(OCPFLAGS) $@