From df61983f553311965770c86771f027867dc42289 Mon Sep 17 00:00:00 2001 From: zv0n Date: Tue, 25 May 2021 16:34:21 +0200 Subject: [PATCH] SDLPP: add .a library target --- sdlpp/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdlpp/Makefile b/sdlpp/Makefile index 01ee295..2df8c2f 100644 --- a/sdlpp/Makefile +++ b/sdlpp/Makefile @@ -57,6 +57,10 @@ ${SDLPPLIBRARY}: ${OBJECTFILES} ${CXX} /LD $^ /link SDL2.lib SDL2_ttf.lib SDL2_image.lib /OUT:$@ /IMPLIB:libsdlpp.lib endif +libsdlpp.a: ${OBJECTFILES} + ar ruv $@ $^ + ranlib $@ + clean: ${RM} *.so* *.${OBJEXT} *.dylib libsdlpp*