aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 589ff4cca12f3db19f49acbc6e384db7f049c19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CFLAGS = -c -fPIC
INC = include
OBJECTS = mixer.o pcm.o
LIB = libtinyalsa.so

libtinyalsa.so: $(OBJECTS)
	gcc -shared $(OBJECTS) -o $(LIB)

.c.o:
	gcc $(CFLAGS) $< -I$(INC)
	
clean:
	rm $(LIB) $(OBJECTS)