Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Sep 22, 2023
1 parent b19ae60 commit 7618a79
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
.PHONY: python run run-python docker clean
.PHONY: clean

all:
g++ -o test test.cpp -Iinstall/include -Iinstall/include/webrtc-audio-processing-1 -Iinstall/include/webrtc-audio-coding-1 -Linstall/lib/x86_64-linux-gnu -lwebrtc-audio-processing-1 -lwebrtc-audio-coding-1 -pthread -lrt -DWEBRTC_LIBRARY_IMPL -DWEBRTC_POSIX

python:
python3 setup.py install

python-test:
LD_LIBRARY_PATH=${PWD}/install/lib/x86_64-linux-gnu python3 test.py

run:
LD_LIBRARY_PATH=${PWD}/install/lib/x86_64-linux-gnu ./test

docker:
docker buildx build . --platform linux/amd64,linux/arm64 --output 'type=local,dest=dist'

clean:
Expand Down

0 comments on commit 7618a79

Please sign in to comment.