-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·61 lines (30 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env bash
.PHONY env java-build-package python-build-install all clean clean-env [email protected] \
[email protected]: ./scripts/install_conda_env.sh python2.7 [email protected]
env: ./scripts/install_conda_env.sh
java-build: clean-env env && \
package
java-clean:
cd RTL-SDR-ingestor && mvn clean
python-build-install:
clean-env env && \
python setup.py install
python install: all python
python-clean:
find ./RTL-SDR-ingestor/nifi-nifi-rf-nar/src/main/python -type f -name '*.pyc' -exec rm {}
clean:
./RTL-SDR-ingestor/mvn clean && \
find ./RTL-SDR-ingestor/nifi-nifi-rf-nar/src/main/python -type f -name '*.pyc' -exec rm {}
all: clean clean-env env python-build package
clean-env: conda clean --all && \
clean-env2.7: conda clean-env --all && \
clean-all: clean-env clean
package:
cd RTL-SDR-ingestor && \
python-clean &&
python-build
python-install
install: all
deploy: clean