diff options
-rw-r--r-- | Makefile | 19 | ||||
-rw-r--r-- | id3test.c (renamed from src/id3test.c) | 0 | ||||
-rw-r--r-- | readdir_test.c (renamed from src/readdir_test.c) | 0 |
3 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..18fb9c9 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +CFLAGS = -Wall -Iinclude/ \ + `pkg-config fuse --cflags` + +LD_ADD = -lid3 \ + `pkg-config fuse --libs` +CC = gcc + +C_FILES = $(wildcard src/*.c) +OBJS = $(C_FILES:.c=.o) \ + +PROGRAM = mp3fs + +all: $(PROGRAM) + +$(PROGRAM): $(OBJS) + $(CC) -o $@ $+ $(LD_ADD) + +clean: + rm -f $(PROGRAM) $(OBJS) *~ diff --git a/src/id3test.c b/id3test.c index 6136112..6136112 100644 --- a/src/id3test.c +++ b/id3test.c diff --git a/src/readdir_test.c b/readdir_test.c index 0cca325..0cca325 100644 --- a/src/readdir_test.c +++ b/readdir_test.c |