makefile: Rename primary target name for vax simulator
make vax the primary build target and microvax3900 the copied result. The microvax3900 binary name was added when all the different VAX simulator models were add to simh and each was appropriately named based on the system model name of each respective simulator. The vax simulator name was the earliest vax implemented so a binary of that name is produced for upward compatibility for existing users. Producing the vax simulator and then copying it to microvax3900 produces equivalent results, but is easier to auto convert to cmake build configuration files which then will generate a vax project file when cmake is generating those.
This commit is contained in:
parent
027c1de446
commit
0970c067a8
1 changed files with 5 additions and 5 deletions
10
makefile
10
makefile
|
@ -2203,17 +2203,17 @@ ifneq (,$(call find_test,${PDP11D},uc15))
|
|||
$@ $(call find_test,${PDP11D},uc15) ${TEST_ARG}
|
||||
endif
|
||||
|
||||
vax : microvax3900
|
||||
microvax3900 : vax
|
||||
|
||||
microvax3900 : ${BIN}microvax3900${EXE}
|
||||
vax : ${BIN}vax${EXE}
|
||||
|
||||
${BIN}microvax3900${EXE} : ${VAX} ${SIM} ${BUILD_ROMS}
|
||||
${BIN}vax${EXE} : ${VAX} ${SIM} ${BUILD_ROMS}
|
||||
${MKDIRBIN}
|
||||
${CC} ${VAX} ${SIM} ${VAX_OPT} ${CC_OUTSPEC} ${LDFLAGS}
|
||||
ifeq (${WIN32},)
|
||||
cp ${BIN}microvax3900${EXE} ${BIN}vax${EXE}
|
||||
cp ${BIN}vax${EXE} ${BIN}microvax3900${EXE}
|
||||
else
|
||||
copy $(@D)\microvax3900${EXE} $(@D)\vax${EXE}
|
||||
copy $(@D)\vax${EXE} $(@D)\microvax3900${EXE}
|
||||
endif
|
||||
ifneq (,$(call find_test,${VAXD},vax-diag))
|
||||
$@ $(call find_test,${VAXD},vax-diag) ${TEST_ARG}
|
||||
|
|
Loading…
Add table
Reference in a new issue