SDLPP: add .a library target
This commit is contained in:
parent
f0df1cc3b2
commit
df61983f55
@ -57,6 +57,10 @@ ${SDLPPLIBRARY}: ${OBJECTFILES}
|
|||||||
${CXX} /LD $^ /link SDL2.lib SDL2_ttf.lib SDL2_image.lib /OUT:$@ /IMPLIB:libsdlpp.lib
|
${CXX} /LD $^ /link SDL2.lib SDL2_ttf.lib SDL2_image.lib /OUT:$@ /IMPLIB:libsdlpp.lib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
libsdlpp.a: ${OBJECTFILES}
|
||||||
|
ar ruv $@ $^
|
||||||
|
ranlib $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
${RM} *.so* *.${OBJEXT} *.dylib libsdlpp*
|
${RM} *.so* *.${OBJEXT} *.dylib libsdlpp*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user