Skip to content

Commit

Permalink
Alternative more localized fix that is messy in its own way
Browse files Browse the repository at this point in the history
  • Loading branch information
ANogin committed Jul 4, 2024
1 parent f375f7d commit e2c91c8
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions ofrak_core/Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
PYTHON=python3
PIP=pip3
STAGE=2

.PHONY: install
install: ofrak/gui/public
$(PIP) install .


# Workaround for cyclic test dependencies
# https://github.com/redballoonsecurity/ofrak/issues/419
ifeq ($(STAGE), 1)
DEVELOP_TARGET=.
else
DEVELOP_TARGET=.[docs,test]
endif

.PHONY: develop
develop: ofrak/gui/public
$(PIP) install -e $(DEVELOP_TARGET)
# Workaround for https://github.com/redballoonsecurity/ofrak/issues/419
$(PIP) install -e .
if [ -d ../disassemblers ]; then $(MAKE) -C ../disassemblers/ofrak_angr develop; else $(MAKE) -C ../ofrak_angr develop; fi
if [ -d ../disassemblers ]; then $(MAKE) -C ../disassemblers/ofrak_capstone develop; else $(MAKE) -C ../ofrak_capstone develop; fi
$(PIP) install -e .[docs,test]

.PHONY: inspect
inspect:
Expand Down

0 comments on commit e2c91c8

Please sign in to comment.