diff --git a/makefile b/makefile index 0931b25..564d2de 100644 --- a/makefile +++ b/makefile @@ -41,7 +41,10 @@ ifneq ($(WINDOWS),1) #*nix settings CC::=gcc CXX::=g++ - LDLIBS::=-lglfw -lglad -ldl -lm -lportaudio -lasound -lsndfile -lpthread + LDLIBS::=-lglfw -lglad -ldl -lm -lportaudio -lsndfile -lpthread +ifeq ($(shell uname -s),Linux) + LDLIBS+=-lasound +endif LDFLAGS::= DEBUG_LDLIBS::= DEBUG_LDFLAGS::=