diff options
author | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2007-11-21 20:09:39 +0100 |
---|---|---|
committer | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2007-11-21 20:09:39 +0100 |
commit | e660aacdb3fe0f79d1531d9aa0c8ce2f158b7ae3 (patch) | |
tree | b733c00074911793d6299c03ac897179c43cab8f /Makefile | |
parent | 7de7ada912e81e4eedab3a1e94992b4ab778a669 (diff) |
- Added Makefile
- Moved `test programs` out of source tree
(So the Makefile actually works)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 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) *~ |