Skip to content

Commit

Permalink
Default make to build dox conditional on doxygen being available.
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed May 14, 2024
1 parent fbef9cc commit d4d6496
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
# You can include this snipplet in your Makefile also.
# ============================================================================

# The targets to build by default if not otherwise specified to 'make'
DEFAULT_TARGETS := static shared cio_ra.bin

# Check if there is a doxygen we can run
DOXYGEN := $(shell which doxygen)

# If there is doxygen, build the API documentation also by default
ifeq ($(.SHELLSTATUS),0)
DEFAULT_TARGETS += dox
endif

# Folders in which sources and headers are located, respectively
SRC = src
Expand Down

0 comments on commit d4d6496

Please sign in to comment.