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 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 mzf2wav/src/Makefile (limited to 'mzf2wav/src/Makefile') 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) -- cgit v1.2.1