-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·22 lines (18 loc) · 872 Bytes
/
Copy pathMakefile
File metadata and controls
executable file
·22 lines (18 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Make file for libkmaudio
# make clean ... clean up intermediate files
# make ... generate libkmaudio as executable for testing purposes
# and also creates the static library libkmaudio.a to be linked with another program
# when linking to another program also include "-lliquid -lsoundio" to your linker
CXXFLAGS = -Wall -O3 -std=c++0x -Wno-write-strings -Wno-narrowing
LDFLAGS = -lliquid -lsoundio
OBJM = libkmaudio.o
OBJ = libkmaudio_fifo.o libkmaudio_getDevices.o libkmaudio_getDevices_Linux.o libkmaudio_init.o libkmaudio_init_linux.o libkmaudio_interface.o libkmaudio_capture_linux.o libkmaudio_playback_linux.o libkmaudio_resampler.o
default: $(OBJ) $(OBJM)
g++ $(CXXFLAGS) -o libkmaudio $(OBJ) $(OBJM) $(LDFLAGS)
ar rcs libkmaudio.a $(OBJ)
clean:
rm -f *.o libkmaudio.a
-rm -rf ./Release/*
-rmdir Release
-rm -rf ./Debug/*
-rmdir Debug