mirror of
https://github.com/sjlongland/atinysynth.git
synced 2025-09-13 10:03:15 +10:00
- Added waveform generic API to create waveforms, and use period instead of frequency in waveform (avoid division on MCUs) - Introduced 'def' struct in ADSR API for reuse - Multi-track MML parser and compilation - Added some samples from https://electronicmusic.fandom.com/wiki/Music_Macro_Language - Added scale.mml for testing
13 lines
248 B
Makefile
13 lines
248 B
Makefile
CROSS_COMPILE ?=
|
|
|
|
CFLAGS ?= -g -Werror -Woverflow
|
|
CPPFLAGS ?= -I$(SRCDIR) -I$(PORTDIR)
|
|
LDFLAGS ?= -g -lao -lm -Wl,--as-needed
|
|
LIBS += -lao -lm
|
|
INCLUDES += -I$(SRCDIR) -I$(PORTDIR)
|
|
OBJECTS += $(OBJDIR)/main.o
|
|
|
|
TARGET=$(BINDIR)/synth
|
|
|
|
all: $(TARGET)
|