wmake: correcting dependencies syntax in .dep files on Windows

This commit is contained in:
Martin Beaudoin 2015-09-20 22:38:04 -04:00 committed by Hrvoje Jasak
parent 0a48ccb4d2
commit 8e0581a1cf

View file

@ -47,13 +47,13 @@ fi
if [ "$WM_PROJECT_DIR" ] if [ "$WM_PROJECT_DIR" ]
then then
sed -e s%$WM_PROJECT_DIR%'$(WM_PROJECT_DIR)'% > $depName sed -e s%:.*$WM_PROJECT_DIR%': $(WM_PROJECT_DIR)'% > $depName
else else
cat > $depName cat > $depName
fi fi
sed -e s%".*.o.*:"%'$(OBJECTS_DIR)/'"$objectName\:"% \ sed -e s%".*.o.*:"%'$(OBJECTS_DIR)/'"$objectName\:"% \
-e s%$WM_PROJECT_DIR%'$(WM_PROJECT_DIR)'% \ -e s%:.*$WM_PROJECT_DIR%': $(WM_PROJECT_DIR)'% \
>> $depName >> $depName
echo '$(OBJECTS_DIR)/'$objectName': $(EXE_DEP)' >> $depName echo '$(OBJECTS_DIR)/'$objectName': $(EXE_DEP)' >> $depName