-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (28 loc) · 916 Bytes
/
Makefile
File metadata and controls
40 lines (28 loc) · 916 Bytes
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
40
# -*- mode: Makefile -*-
# Copyright 2017 Benjamin J. Andre.
# All Rights Reserved.
#
# This Source Code Form is subject to the terms of the Mozilla
# Public License, v. 2.0. If a copy of the MPL was not distributed
# with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
# Makefile for building ECEN 5013 class projects on unix systems
WORKSPACE_PATH := $(PWD)
MAKERULES = $(WORKSPACE_PATH)/makerules
include $(MAKERULES)/config.makefile
# subdirectories that will be built.
SUBDIRS = \
src
include $(MAKERULES)/3rd-party.makefile
include $(MAKERULES)/generic.makefile
.PHONY : astyle
astyle : FORCE
astyle --options=.astylerc --recursive 'src/*.c' 'src/*.h'
.PHONY : archive
archive : FORCE
tar --exclude .git/ -c -v -f andre-ecen5013-project$(PROJECT).tgz .
.PHONY : doc
doc : FORCE
$(DOXYGEN) doc/Doxyfile
.PHONY : clean-doc
clean-doc : FORCE
@-$(RM) -rf $(DOC_HTML) $(DOC_LATEX)