mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
12 lines
379 B
Bash
Executable file
12 lines
379 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
|
|
src=${EXTRA_FILES}/${TEST_NAME}
|
|
|
|
|
|
$DMD -lib -m${MODEL} -of${OUTPUT_BASE}a${LIBEXT} -I${src} ${src}/a.d
|
|
$DMD -lib -m${MODEL} -of${OUTPUT_BASE}b${LIBEXT} -I${src} ${src}/b.d
|
|
|
|
$DMD -m${MODEL} -of${OUTPUT_BASE}_main -I${src} ${src}/main.d ${OUTPUT_BASE}a${LIBEXT} ${OUTPUT_BASE}b${LIBEXT}
|
|
|
|
rm_retry ${OUTPUT_BASE}{a${LIBEXT},b${LIBEXT},_main${EXE},_main${OBJ}}
|