From ff892326d413128e2cb208041b2590bb9b442926 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 2 Jan 2017 13:00:08 +0100 Subject: mzf2wav: adapt sources for easier build --- mzf2wav/src/Makefile | 23 +++++++++++++++++++++++ mzf2wav/src/linux/Makefile.linux | 23 ----------------------- mzf2wav/src/linux/build.sh | 8 -------- mzf2wav/src/linux/release/mzf2wav | Bin 14012 -> 0 bytes 4 files changed, 23 insertions(+), 31 deletions(-) create mode 100644 mzf2wav/src/Makefile delete mode 100644 mzf2wav/src/linux/Makefile.linux delete mode 100644 mzf2wav/src/linux/build.sh delete mode 100644 mzf2wav/src/linux/release/mzf2wav (limited to 'mzf2wav/src') diff --git a/mzf2wav/src/Makefile b/mzf2wav/src/Makefile new file mode 100644 index 0000000..e744eb1 --- /dev/null +++ b/mzf2wav/src/Makefile @@ -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/Makefile.linux b/mzf2wav/src/linux/Makefile.linux deleted file mode 100644 index e744eb1..0000000 --- a/mzf2wav/src/linux/Makefile.linux +++ /dev/null @@ -1,23 +0,0 @@ -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 deleted file mode 100644 index ff3bcf0..0000000 --- a/mzf2wav/src/linux/build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/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 deleted file mode 100644 index e4c5077..0000000 Binary files a/mzf2wav/src/linux/release/mzf2wav and /dev/null differ -- cgit v1.2.1