Skip to content

Commit

Permalink
Makefile: allow the user to specify which Audio Driver to use
Browse files Browse the repository at this point in the history
By changing the 'AUDIO_DRIVER' variable, the user can compile the
library including that specified audio driver implementation.
  • Loading branch information
Vulcalien committed Dec 11, 2024
1 parent 901072d commit 654b741
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ SRC_DIR := src
OBJ_DIR := obj
BIN_DIR := bin

SRC_SUBDIRS := math memory audio backup debug
SRC_SUBDIRS := math memory backup debug

# === Variable Implementations ===
AUDIO_DRIVER := basic
SRC_SUBDIRS += audio/$(AUDIO_DRIVER)

# === Compilation ===
CPPFLAGS := -MMD -MP -Iinclude
Expand Down
File renamed without changes.

0 comments on commit 654b741

Please sign in to comment.