SDLPP: add .a library target

This commit is contained in:
zv0n 2021-05-25 16:34:21 +02:00
parent f0df1cc3b2
commit df61983f55

View File

@ -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*