aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-05-30 09:29:12 +0200
committerlonkaars <loek@pipeframe.xyz>2021-05-30 09:29:12 +0200
commit3fe4b144cddad9af5332ad32387404f03aaf60aa (patch)
tree7d13a94a18683d064f8e801238a6bf97404f5d26 /makefile
parent32d9faa16f00ec930a72f5ed2dd0ba00bbfe95ca (diff)
makefile working with cwalk
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 37f7b82..83107d1 100644
--- a/makefile
+++ b/makefile
@@ -1,15 +1,15 @@
CC = gcc
LD = gcc
RM = rm -f
-CFLAGS =
+CFLAGS = -lcwalk
SOURCES := $(wildcard *.c)
OBJECTS := $(patsubst %.c,%.o, $(SOURCES))
all: musicopy
-voerbak: $(OBJECTS)
- $(CC) $(OBJECTS) -o musicopy
+musicopy: $(OBJECTS)
+ $(CC) -static $(OBJECTS) $(CFLAGS) -o musicopy
clean:
$(RM) musicopy