diff --git a/Makefile b/Makefile index a4bda9b..824bebf 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ SRC += stmt_string.cpp OBJ = $(patsubst %.cpp,%.o,$(SRC)) DEP = $(patsubst %.cpp,%.d,$(SRC)) -MAIN = scu-dsp-asm +MAIN ?= scu-dsp-asm all: $(MAIN) diff --git a/release.sh b/release.sh new file mode 100644 index 0000000..f95caa7 --- /dev/null +++ b/release.sh @@ -0,0 +1,7 @@ +V=2 +M=scu-dsp-asm.$V + +make TARGET=x86_64-pc-linux-gnu- MAIN=$M.Linux.x86_64 clean all +make TARGET=x86_64-w64-mingw32- MAIN=$M.Windows.x86_64.exe clean all +make TARGET=i686-w64-mingw32- MAIN=$M.Windows.i686.exe clean all +#make MAIN=$M.MacOS-Ventura.x86_64 clean all