blob: 6468280e7cc5972291cc934366242ecd3deec391 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CFLAGS = -Wall -g
PULSEFLAGS = -lpulse -lpulse-simple
SOURCES = parecord.c audio_types.c device.c
OBJECTS = ${SOURCES:.c=.o}
EXECUTABLE = parecord
all: $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)
@gcc $(CFLAGS) $(PULSEFLAGS) -o $(EXECUTABLE) $(OBJECTS)
$(OBJECTS):
@gcc -c $(CFLAGS) $(PULSEFLAGS) $(SOURCES)
clean:
@rm -f $(OBJECTS) $(EXECUTABLE)
|