mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
21c2e5ebec
PR: 46783 Approved By: alex (mentor)
23 lines
670 B
Plaintext
23 lines
670 B
Plaintext
--- sound/Makefile.linux.orig Fri Jul 5 06:08:17 2002
|
|
+++ sound/Makefile.linux Sun Jan 5 22:27:56 2003
|
|
@@ -1,5 +1,5 @@
|
|
-CC = gcc
|
|
-CXX = g++
|
|
+CC ?= gcc
|
|
+CXX ?= g++
|
|
SPKIT = ../spkit
|
|
AUDIO = ../libaudio
|
|
AUDIOF = ../libaudiofile
|
|
@@ -8,9 +8,9 @@
|
|
HOMEDIR = $(HOME)
|
|
INCDIR = -I. -I.. -I$(SPKIT) -I$(MAINDIR)
|
|
LIBDIR = -L$(SPKIT)/spkit -L$(AUDIO) -L$(AUDIOF)
|
|
-CCFLAGS = $(DEBUG) $(OPTIM) -DNOFORMS -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
|
|
+CCFLAGS = $(OPTIM) -DNOFORMS -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
|
|
DEBUG = -g3
|
|
-OPTIM = -O1
|
|
+OPTIM = ${CXXFLAGS}
|
|
LDFLAGS = $(LIBDIR) -laudio -laudiofile -lm
|
|
|
|
PROGS = SampleTest
|