summaryrefslogtreecommitdiff
path: root/mzf2wav/src/linux/Makefile.linux
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2017-01-02 12:58:55 +0100
committerYves Fischer <yvesf-git@xapek.org>2017-01-02 12:58:55 +0100
commita0e86733b4ddab6aa886a7cbb8fe9019f99a3459 (patch)
treed2f6fb78372cbb12a4123901383b0fe65795ca20 /mzf2wav/src/linux/Makefile.linux
downloadsharp-mz-a0e86733b4ddab6aa886a7cbb8fe9019f99a3459.tar.gz
sharp-mz-a0e86733b4ddab6aa886a7cbb8fe9019f99a3459.zip
Import from http://www.sharpmz.org/mzf2wav.htm
Diffstat (limited to 'mzf2wav/src/linux/Makefile.linux')
-rw-r--r--mzf2wav/src/linux/Makefile.linux23
1 files changed, 23 insertions, 0 deletions
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)