82 lines
2.6 KiB
Makefile
82 lines
2.6 KiB
Makefile
#
|
|
# Makefile for SPECBLEACH
|
|
# This one creates libspecbleach.a intended for static linking
|
|
#
|
|
|
|
FFTWINCLUDE=`pkg-config --cflags fftw3f`
|
|
|
|
CFLAGS?= -pthread -O3 -D_GNU_SOURCE -Wno-parentheses $(FFTWINCLUDE)
|
|
|
|
COMPILE=$(CC) $(CFLAGS) -Iinclude -Isrc -Isrc/shared
|
|
|
|
SOURCES= \
|
|
src/processors/specbleach_adenoiser.c \
|
|
src/processors/specbleach_denoiser.c \
|
|
src/processors/adaptivedenoiser/adaptive_denoiser.c \
|
|
src/shared/gain_estimation/gain_estimators.c \
|
|
src/shared/noise_estimation/adaptive_noise_estimator.c \
|
|
src/shared/pre_estimation/absolute_hearing_thresholds.c \
|
|
src/shared/pre_estimation/critical_bands.c \
|
|
src/shared/pre_estimation/masking_estimator.c \
|
|
src/shared/pre_estimation/noise_scaling_criterias.c \
|
|
src/shared/pre_estimation/spectral_smoother.c \
|
|
src/shared/pre_estimation/transient_detector.c \
|
|
src/shared/post_estimation/noise_floor_manager.c \
|
|
src/shared/post_estimation/postfilter.c \
|
|
src/shared/post_estimation/spectral_whitening.c \
|
|
src/shared/utils/denoise_mixer.c \
|
|
src/shared/utils/general_utils.c \
|
|
src/shared/utils/spectral_features.c \
|
|
src/shared/utils/spectral_utils.c \
|
|
src/shared/stft/stft_processor.c \
|
|
src/shared/stft/fft_transform.c \
|
|
src/shared/stft/stft_buffer.c \
|
|
src/shared/stft/stft_windows.c
|
|
|
|
HEADERS= \
|
|
|
|
OBJS= \
|
|
src/processors/specbleach_adenoiser.o \
|
|
src/processors/specbleach_denoiser.o \
|
|
src/processors/adaptivedenoiser/adaptive_denoiser.o \
|
|
src/shared/gain_estimation/gain_estimators.o \
|
|
src/shared/pre_estimation/absolute_hearing_thresholds.o \
|
|
src/shared/pre_estimation/critical_bands.o \
|
|
src/shared/pre_estimation/masking_estimator.o \
|
|
src/shared/noise_estimation/adaptive_noise_estimator.o \
|
|
src/shared/pre_estimation/noise_scaling_criterias.o \
|
|
src/shared/pre_estimation/spectral_smoother.o \
|
|
src/shared/pre_estimation/transient_detector.o \
|
|
src/shared/post_estimation/noise_floor_manager.o \
|
|
src/shared/post_estimation/postfilter.o \
|
|
src/shared/post_estimation/spectral_whitening.o \
|
|
src/shared/utils/denoise_mixer.o \
|
|
src/shared/utils/general_utils.o \
|
|
src/shared/utils/spectral_features.o \
|
|
src/shared/utils/spectral_utils.o \
|
|
src/shared/stft/stft_processor.o \
|
|
src/shared/stft/fft_transform.o \
|
|
src/shared/stft/stft_buffer.o \
|
|
src/shared/stft/stft_windows.o
|
|
|
|
|
|
libspecbleach.a: $(OBJS)
|
|
ar rv libspecbleach.a $(OBJS)
|
|
ranlib libspecbleach.a
|
|
|
|
.c.o:
|
|
$(COMPILE) -c -o $@ $<
|
|
|
|
|
|
clean:
|
|
-rm -f libspecbleach.a $(OBJS)
|
|
|
|
#############################################################################
|
|
#
|
|
# What follows is automatically generated by the "makedepend" program
|
|
#
|
|
#############################################################################
|
|
|
|
# DO NOT DELETE
|
|
|