From e859b0a68ed9c523a4d9b8f2a0bd31f85ab511d5 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 17 Jun 2020 19:54:00 +0200 Subject: [PATCH] build: Remove make(1) targets to build a static library. These targets are not included in the default ("all") target. --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 4ba28b1..a552738 100644 --- a/Makefile +++ b/Makefile @@ -96,13 +96,6 @@ oslfsck: $(fsck_objects) $(realname): $(objects) $(CC) $(OSL_LDFLAGS) $(LDFLAGS) -o $@ $(objects) -$(libname).sym: osl.h.in - sed -Ene '/^int|^const/{s/.*(osl_.*)\(.*/\1/; p;}' $< > $@ -$(libname).ga: $(objects) - $(LD) -r -o $@ $(objects) -lib$(libname).a: $(libname).ga $(libname).sym - $(OBJCOPY) --keep-global-symbols $(libname).sym $(libname).ga $@ - errtab.h: errlist sed -e 's/^\([A-Z_]*\)\s*\(.*\)/OSL_ERROR(E_OSL_\1, \2)/g' $< > $@ @@ -118,7 +111,7 @@ osl.h: osl.h.in errlist Makefile -e '$$s/$$/};/1' errlist >> $@ echo '#endif /* _OSL_H */' >> $@ clean: - rm -f *.o $(realname) osl.h errtab.h oslfsck *.a *.ga *.sym *.lsg.* *.d + rm -f *.o $(realname) osl.h errtab.h oslfsck *.lsg.* *.d distclean: clean rm -f web/index.html web/oslfsck.1.html web/osl.png -- 2.39.5