mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
BESM6: Added target 'besm6' to makefile; added new files in the BESM6 subdirectory.
This commit is contained in:
26
makefile
26
makefile
@@ -68,6 +68,8 @@ ifneq (,$(or $(findstring pdp11,$(MAKECMDGOALS)),$(findstring vax,$(MAKECMDGOALS
|
||||
VIDEO_USEFUL = true
|
||||
DISPLAY_USEFUL = true
|
||||
endif
|
||||
else ifeq ($(MAKECMDGOALS),besm6)
|
||||
VIDEO_USEFUL = true
|
||||
else
|
||||
ifeq ($(MAKECMDGOALS),)
|
||||
# default target is all
|
||||
@@ -1159,6 +1161,24 @@ SSEMD = SSEM
|
||||
SSEM = ${SSEMD}/ssem_cpu.c ${SSEMD}/ssem_sys.c
|
||||
SSEM_OPT = -I ${SSEMD}
|
||||
|
||||
###
|
||||
### Experimental simulators
|
||||
###
|
||||
|
||||
BESM6D = BESM6
|
||||
BESM6 = ${BESM6D}/besm6_cpu.c ${BESM6D}/besm6_sys.c ${BESM6D}/besm6_mmu.c \
|
||||
${BESM6D}/besm6_arith.c ${BESM6D}/besm6_disk.c ${BESM6D}/besm6_drum.c \
|
||||
${BESM6D}/besm6_tty.c ${BESM6D}/besm6_panel.c ${BESM6D}/besm6_printer.c \
|
||||
${BESM6D}/besm6_punch.c
|
||||
|
||||
ifeq (,${VIDEO_LDFLAGS})
|
||||
BESM6_OPT = -I ${BESM6D} -DUSE_INT64
|
||||
else ifneq (,$(and $(findstring,SDL2,${VIDEO_LDFLAGS})),$(and($(find_include, SDL2/SDL_ttf),$(find_lib,SDL2_ttf))))
|
||||
BESM6_OPT = -I ${BESM6D} -DUSE_INT64 ${VIDEO_CCDEFS} ${VIDEO_LDFLAGS} -lSDL2_ttf
|
||||
else ifneq (,$(and $(find_include, SDL/SDL_ttf),$(find_lib,SDL_ttf)))
|
||||
BESM6_OPT = -I ${BESM6D} -DUSE_INT64 ${VIDEO_CCDEFS} ${VIDEO_LDFLAGS} -lSDL_ttf
|
||||
endif
|
||||
|
||||
###
|
||||
### Unsupported/Incomplete simulators
|
||||
###
|
||||
@@ -1462,6 +1482,12 @@ ${BIN}ssem${EXE} : ${SSEM} ${SIM}
|
||||
${MKDIRBIN}
|
||||
${CC} ${SSEM} ${SIM} ${SSEM_OPT} $(CC_OUTSPEC) ${LDFLAGS}
|
||||
|
||||
besm6 : ${BIN}besm6${EXE}
|
||||
|
||||
${BIN}besm6${EXE} : ${BESM6} ${SIM}
|
||||
${MKDIRBIN}
|
||||
${CC} ${BESM6} ${SIM} ${BESM6_OPT} $(CC_OUTSPEC) ${LDFLAGS}
|
||||
|
||||
sigma : ${BIN}sigma${EXE}
|
||||
|
||||
${BIN}sigma${EXE} : ${SIGMA} ${SIM}
|
||||
|
||||
Reference in New Issue
Block a user