Skip to content

Commit

Permalink
Ensuring 'make from_python' clears cache before running. Refactoring …
Browse files Browse the repository at this point in the history
…almost there.
  • Loading branch information
thomaslima committed Dec 28, 2018
1 parent f437da8 commit e27ad49
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Examples/scripted_layout/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ from_klayout_batch_mode: main_klayout.py
klayout -e -zz -r main_klayout.py; \
)

from_python: main_python.py
from_python: main_python.py clear
@echo "Don't forget to export PYTHONPATH='/path/to/SiEPIC-Tools/klayout_dot_config/python'"
( \
python main_python.py; \
)
Expand All @@ -25,7 +26,7 @@ test:
)

clear:
rm cache/*
rm cache/* || true


.PHONY: default from_klayout from_klayout_batch_mode from_python
.PHONY: default from_klayout from_klayout_batch_mode from_python clear

0 comments on commit e27ad49

Please sign in to comment.