hostap/wpaspy/Makefile
Johannes Berg 27fb429e95 wpaspy: Allow building with python3
Add the necessary modified module registration code to allow building
wpaspy with python3. Also clean up the wpaspy_close() function to not
poke into the python version specific details.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2020-10-11 19:41:08 +03:00

16 lines
176 B
Makefile

all: build
SRC=wpaspy.c
.PHONY: build
build: $(SRC) setup.py
python setup.py build
install:
python setup.py install
clean:
python setup.py clean
rm -f *~
rm -rf build