aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-05-28 20:00:08 +0200
committerlonkaars <loek@pipeframe.xyz>2021-05-28 20:00:08 +0200
commit32d9faa16f00ec930a72f5ed2dd0ba00bbfe95ca (patch)
tree266536a28a400d18eb336bbd6ccc7241efe6205c /makefile
initial commit
Diffstat (limited to 'makefile')
-rw-r--r--makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..37f7b82
--- /dev/null
+++ b/makefile
@@ -0,0 +1,18 @@
+CC = gcc
+LD = gcc
+RM = rm -f
+CFLAGS =
+
+SOURCES := $(wildcard *.c)
+OBJECTS := $(patsubst %.c,%.o, $(SOURCES))
+
+all: musicopy
+
+voerbak: $(OBJECTS)
+ $(CC) $(OBJECTS) -o musicopy
+
+clean:
+ $(RM) musicopy
+
+distclean: clean
+ $(RM) *.o