csci3081/repo-zhan4854/labs/lab07/Makefile
Michael Zhang 1ba4536588
f
2018-01-29 17:24:20 -06:00

28 lines
799 B
Makefile
Executable file

### CSci-3081W Project Support Code Makefile ###
# This is the main Makefile for the project. It provides easy access
# to building and testing the whole project, which requires running
# make in subdirectories.
.PHONY: proj01 unittest docs clean
# Build everything that can be built for this project
all: proj01 unittest
# Build the bin/proj01 executable by running make in the project's src directory
proj01:
$(MAKE) -C src all
# Build docs/html, docs/latex by running doxygen in the project's docs directory
docs:
@doxygen docs/Doxyfile
@open docs/html/index.html
# Build the bin/unittest executable by running make in the project's tests directory
unittest:
$(MAKE) -C tests all
# Clean everything that has been for a fresh start
clean:
$(MAKE) -C src clean
$(MAKE) -C tests clean