summaryrefslogtreecommitdiff
path: root/Makefile
blob: 23e9755d89347cff224fa281cc4e9f380305a7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS  = -Wall -std=c99 -D_BSD_SOURCE -I/usr/local/include/ -Iinclude/ \
	`pkg-config fuse --cflags` `pkg-config taglib --cflags` -DDEBUGGING

LD_ADD  = -L/usr/local/lib -lsqlite3 -ltag_c \
	`pkg-config fuse --libs`
CC = gcc

C_FILES = $(wildcard src/*.c)
OBJS    = $(C_FILES:.c=.o) \

PROGRAM = musicfs

all: $(PROGRAM)

$(PROGRAM): $(OBJS)
	$(CC) -o $@ $+ $(LD_ADD)

clean:
	rm -f $(PROGRAM) $(OBJS) *~