What I tried so far and can’t get this to work:
- TARGET_PATH=./pathpart1/pathpart2
cp –f lib.a $TARGET_PATH
cp –f lib.dll $TARGET_PATH
- tries to copy lib.a and lib.dll to ARGET_PATH
- TARGET_PATH:=./pathpart1/pathpart2
cp –f lib.a $(TARGET_PATH)
cp –f lib.dll $(TARGET_PATH)
- says that ./pathpart1/pathpart2 directory does not exist even though running and echoing pwd outputs the path to the dir where ./pathpart1/pathpart2 exists.
- cp –f lib.a ./pathpart1/pathpart2
cp –f lib.dll ./pathpart1/pathpart2 <- same path repeated