arose13 / PoetryAndMakefileExample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to interpret a Makefile

.PHONY: <cmd 1> <cmd 2> <cmd 3>

<cmd>: <dep 1> <dep 2> <dep 3>
    <arbitary terminal cmd 1>
    <arbitary terminal cmd 2>
    <arbitary terminal cmd 3>

For example

.PHONY: install test run uninstall

install:
    wget google.com
    poetry install

run: install
    @echo "Running the program"
    poetry run python main.py

About


Languages

Language:Makefile 80.9%Language:Python 19.1%