From 3fe4b144cddad9af5332ad32387404f03aaf60aa Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 30 May 2021 09:29:12 +0200 Subject: makefile working with cwalk --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'makefile') 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 -- cgit v1.2.3