From 311b6911959263a81f4dd74b44ad93af53a981b1 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 7 Oct 2009 15:55:46 -0500 Subject: [PATCH] fix makefile to not define variables if they are already defined --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 3ae9301..7a22e47 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,10 @@ -INSTALL = install +INSTALL ?= install -PREFIX = /usr/local -MANDIR = $(PREFIX)/share/man/man8 -BINDIR = $(PREFIX)/bin +PREFIX ?= /usr/local +MANDIR ?= $(PREFIX)/share/man/man8 +BINDIR ?= $(PREFIX)/bin -ifndef AUDIO - AUDIO=portaudio -endif +AUDIO ?= portaudio alsa_SRCS = alsa.c portaudio_SRCS = portaudio.c