From a0e86733b4ddab6aa886a7cbb8fe9019f99a3459 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 2 Jan 2017 12:58:55 +0100 Subject: Import from http://www.sharpmz.org/mzf2wav.htm --- mzf2wav/src/linux/Makefile.linux | 23 +++++++++++++++++++++++ mzf2wav/src/linux/build.sh | 8 ++++++++ mzf2wav/src/linux/release/mzf2wav | Bin 0 -> 14012 bytes 3 files changed, 31 insertions(+) create mode 100644 mzf2wav/src/linux/Makefile.linux create mode 100644 mzf2wav/src/linux/build.sh create mode 100644 mzf2wav/src/linux/release/mzf2wav (limited to 'mzf2wav/src/linux') diff --git a/mzf2wav/src/linux/Makefile.linux b/mzf2wav/src/linux/Makefile.linux new file mode 100644 index 0000000..e744eb1 --- /dev/null +++ b/mzf2wav/src/linux/Makefile.linux @@ -0,0 +1,23 @@ +CC = gcc +CFLAGS = -Wall -O3 + +EXEC = mzf2wav +MAIN = mzf2wav.c +OBJS = physical.o methods.o args.o wav.o + +all: $(EXEC) + +release: all + cp $(EXEC) linux/release + +.cc.o: + $(CC) $(CFLAGS) -c $< + +$(EXEC): $(MAIN) $(OBJS) + $(CC) $(CFLAGS) -o $@ $^ + +clean: + rm -f *.o core + +realclean: clean + rm -f $(EXEC) diff --git a/mzf2wav/src/linux/build.sh b/mzf2wav/src/linux/build.sh new file mode 100644 index 0000000..ff3bcf0 --- /dev/null +++ b/mzf2wav/src/linux/build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +cp Makefile.linux ../Makefile +cd .. +make release +make realclean +rm Makefile +echo If all is well, the executable is in: linux/release diff --git a/mzf2wav/src/linux/release/mzf2wav b/mzf2wav/src/linux/release/mzf2wav new file mode 100644 index 0000000..e4c5077 Binary files /dev/null and b/mzf2wav/src/linux/release/mzf2wav differ -- cgit v1.2.1