diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2017-01-02 13:00:08 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2017-01-02 13:00:08 +0100 |
commit | ff892326d413128e2cb208041b2590bb9b442926 (patch) | |
tree | 0908c72b4ba9e00bc5a0ff8874bc091bf70fa14e /mzf2wav/src/Makefile | |
parent | a0e86733b4ddab6aa886a7cbb8fe9019f99a3459 (diff) | |
download | sharp-mz-ff892326d413128e2cb208041b2590bb9b442926.tar.gz sharp-mz-ff892326d413128e2cb208041b2590bb9b442926.zip |
mzf2wav: adapt sources for easier build
Diffstat (limited to 'mzf2wav/src/Makefile')
-rw-r--r-- | mzf2wav/src/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
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) |