-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (17 loc) · 983 Bytes
/
Copy pathMakefile
File metadata and controls
24 lines (17 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Makefile for mylib
lib.name = restoration
class.sources = declicker~.c
declicker-adrinas~.class.sources = declicker-adrinas~/declicker-adrinas~.c declicker-adrinas~/adrinas.c
#cflags = -fopenmp -O2 // TODO OpenMP optimization leads to "singular matrix" error
#declicker-adrinas~.class.ldflags = -fopenmp -O2
cflags = -std=c99 -O3
denoiser2~.class.sources = denoiser2~/denoiser2~.c denoiser2~/estimate_noise_spectrum.c denoiser2~/extra_functions.c denoiser2~/spectral_processing.c denoiser2~/denoise_gain.c
define forLinux
denoiser2~.class.ldlibs += -lfftw3f
endef
define forDarwin
# WARNING : brew ships 64bit version of fftw so I build a FAT binary from source and link directly to it
denoiser2~.class.ldlibs += /usr/local/lib/libfftw3f.a
endef
datafiles = declicker~-help.pd denoiser2~/denoiser2~-help.pd README.md LICENSE.txt
include Makefile.pdlibbuilder