-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (32 loc) · 1012 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Makefile
#
# Type: GNU Makefile
# Author: Will Brandon
# Created: June 29, 2023
# Revised: June 30, 2023
#
# Builds, installs, uninstalls, and cleans all python py-packs packages.
#
# Usage: make
# Use Bash shell script.
SHELL := /bin/bash
# Define the package name.
PACKAGE = stax
# This is the default target. This target builds and installs all py-packs packages to pip in order
# of dependencies.
start: start-pywbu start-stax
# This target removes all py-packs packages from pip and cleans out the build.
purge: purge-stax purge-pywbu
# This target purges any previous build and installations then rebuilds and reinstalls the package.
restart: purge start
# The following targets start and purge each package by calling submakes.
start-pywbu:
make -C pywbu start
purge-pywbu:
make -C pywbu purge
start-stax:
make -C stax start
purge-stax:
make -C stax purge
# All targets are phony i.e. do not refer to literal files.
.PHONY: start purge restart start-pywbu purge-pywbu start-stax purge-stax