From 360f18f722a4ec5db3c76b600d66f65210e33766 Mon Sep 17 00:00:00 2001 From: nishi Date: Sun, 26 May 2024 09:52:52 +0000 Subject: [PATCH] add more targets and supports for dosbox-x git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@117 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- common.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index 41b50ac..09fc7b6 100644 --- a/common.mk +++ b/common.mk @@ -2,7 +2,7 @@ COMPILE_FLAGS = CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" LIB_PREFIX="$(LIB_PREFIX)" LIB_SUFFIX="$(LIB_SUFFIX)" EXEC_SUFFIX="$(EXEC_SUFFIX)" PLATFORM_M="$(PLATFORM_M)" PLATFORM_P="$(PLATFORM_P)" STATICLIB_PREFIX="$(STATICLIB_PREFIX)" STATICLIB_SUFFIX="$(STATICLIB_SUFFIX)" AR="$(AR)" RANLIB="$(RANLIB)" SHCC="$(SHCC)" LINK_LIB="$(LINK_LIB)" AR_ARGS="$(AR_ARGS)" -.PHONY: all no-doc replace format clean ./Library ./Client ./Document archive archive-prepare archive-cleanup archive-targz archive-zip dosbox +.PHONY: all no-doc replace format clean ./Library ./Client ./Document archive archive-prepare archive-cleanup archive-targz archive-zip dosbox prepare-dosbox dosbox-x cleanup-dosbox all: ./Library ./Client ./Document @@ -87,4 +87,11 @@ prepare-dosbox: no-doc dosbox: prepare-dosbox dosbox - rm op.txt dosbox.conf + $(MAKE) cleanup-dosbox + +dosbox-x: prepare-dosbox + dosbox-x -conf dosbox.conf + $(MAKE) cleanup-dosbox + +cleanup-dosbox: + rm -f op.txt dosbox.conf -- 2.43.0