summaryrefslogtreecommitdiff
path: root/plugins/mono2stereo/Makefile
blob: 067f074d79b6ab982b64609594149587790cec57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CC=gcc

CFLAGS+=-Wall -fPIC -D_GNU_SOURCE -std=c99

LDFLAGS+=-module -shared -lm

SOURCES=mono2stereo.c

OBJECTS=$(SOURCES:.c=.o)

OUT=mono2stereo.so

all: $(SOURCES) $(OUT)

$(OUT): $(OBJECTS)
	$(CC) $(LDFLAGS) $(OBJECTS) -o $@

.c.o:
	$(CC) $(CFLAGS) $< -c -o $@

clean:
	rm $(OBJECTS) $(OUT)