contrib: fxc2: use install to install binaries

This commit is contained in:
Steve Lhomme 2024-04-19 08:12:17 +02:00
parent 2d5c1f55e7
commit 4c31622635
1 changed files with 3 additions and 1 deletions

View File

@ -42,5 +42,7 @@ endif
.fxc2: fxc2
cd $< && $(FXC2_CXX) -static fxc2.cpp -o fxc2.exe
cd $< && mkdir -p $(PREFIX)/bin && cp fxc2.exe $(PREFIX)/bin && cp $(FXC2_DLL) $(PREFIX)/bin/d3dcompiler_47.dll
install -d "$(PREFIX)/bin" && \
install $</fxc2.exe "$(PREFIX)/bin" && \
install $</$(FXC2_DLL) "$(PREFIX)/bin/d3dcompiler_47.dll"
touch $@