Skip to content
Snippets Groups Projects
Commit 31306973 authored by Paweł Szostek's avatar Paweł Szostek
Browse files

Enhance project makefile

parent 3b68b448
Branches
Tags
No related merge requests found
...@@ -5,7 +5,7 @@ srcfile.py ...@@ -5,7 +5,7 @@ srcfile.py
ARCH := hdlmake ARCH := hdlmake
../$(ARCH): $(SRC) ../$(ARCH): check $(SRC)
zip $(ARCH) $(SRC) zip $(ARCH) $(SRC)
echo '#!/usr/bin/python' > ../$(ARCH) echo '#!/usr/bin/python' > ../$(ARCH)
cat $(ARCH).zip >> ../$(ARCH) cat $(ARCH).zip >> ../$(ARCH)
...@@ -15,5 +15,8 @@ ARCH := hdlmake ...@@ -15,5 +15,8 @@ ARCH := hdlmake
push: ../$(ARCH) $(SRC) push: ../$(ARCH) $(SRC)
cd .. && git push && cd src cd .. && git push && cd src
check:
pyflakes $(SRC)
clean: clean:
rm ../$(ARCH) (test -f ../$(ARCH) && rm ../$(ARCH)) || true
rm -f *~ *pyc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment