2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 19:30:08 +01:00
xash3d-fwgs/engine/platform/dos/objcopy.sh
2020-02-08 23:15:40 +07:00

7 lines
138 B
Bash
Executable File

#!/bin/sh
cd $3.files
objxdef $(cat $3) |grep -v _lib_> syms.tmp
objchg -m=$2_* -s=syms.tmp $(cat $3)
wlib $3.a $(cat $3)
cp $3.a $4
cd ..