# this builds chuck on Linux with all supported drivers CFLAGS+=-D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ CFLAGS+=-fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ CFLAGS+=$(shell pkg-config --cflags jack) # linker / library flags LDFLAGS+=-lasound $(shell pkg-config --libs jack) -lpulse-simple -lpulse LDFLAGS+=-lstdc++ -ldl -lm -lsndfile -lpthread