- Refactored MAke system. Put sources into config.mk

- export variables of main Makefile
This commit is contained in:
2023-04-26 10:50:12 +02:00
parent 91518b32e5
commit b4f4b1fa66
7 changed files with 66 additions and 67 deletions
+3 -16
View File
@@ -1,22 +1,9 @@
include ./config.mk
include $(MAKE_HOME)/defaults.mk
NAME := Synth
LIBSRC_PATH ?= $(realpath ../../../../libsrc)
VST2_SDK_PATH ?= $(realpath ../../sdk/vst/vstsdk2.4)
GCC_SRCS := blit.c
GCC_SRCS += env.c
GCC_SRCS += lfo.c
GCC_SRCS += mw_wave_data.c
GCC_SRCS += noise.c
GCC_SRCS += param_scale.c
GCC_SRCS += sine.c
GCC_SRCS += smooth.c
GCC_SRCS += synth_debug.c
GCC_SRCS += vcf.c
GCC_SRCS += vco.c
GCC_SRCS += vector_utils.c
GCC_SRCS += voice.c
GCC_SRCS += wavetable.c
include config.mk
INCLUDES ?= -I $(LIBSRC_PATH) -I $(VST2_SDK_PATH)
DEFINES += -Dradio_float_t=float -Dfir_float_t=float -Dsynth_float_t=float