-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (41 loc) · 1006 Bytes
/
Makefile
File metadata and controls
50 lines (41 loc) · 1006 Bytes
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
48
49
50
all: release
clean:
@echo Cleaning...
-rm -rf ./build
-rm -rf ./dist
-rm -r ./LXST/__pycache__
remove_symlinks:
@echo Removing symlinks for build...
-rm ./RNS
-rm ./LXST/Utilities/LXST
-rm ./examples/LXST
create_symlinks:
@echo Creating symlinks...
-ln -s ../Reticulum/RNS ./
-ln -s ../../LXST/ ./LXST/Utilities/LXST
-ln -s ../LXST/ ./examples/LXST
build_wheel:
cp ./lib/static/* ./LXST/
touch ./skip_extensions
python3 setup.py sdist bdist_wheel
rm ./skip_extensions
-@(rm ./LXST/*.so)
-@(rm ./LXST/*.dll)
windll:
cl /LD LXST/Filters.c LXST/Filters.def /Fefilterlib.dll
mv ./filterlib.dll ./lib/dev/
rm ./filterlib.exp
rm ./filterlib.lib
rm ./filterlib.obj
native_libs:
./march_build.sh
persist_libs:
-cp ./lib/dev/*.so ./lib/static/
-cp ./lib/dev/*.dll ./lib/static/
release: remove_symlinks build_wheel create_symlinks
upload:
@echo Ready to publish release, hit enter to continue
@read VOID
@echo Uploading to PyPi...
twine upload dist/*
@echo Release published