d07c240d19
PR: 11935 Respect CC/CXX/CXXFLAGS/CFLAGS
27 lines
670 B
Plaintext
27 lines
670 B
Plaintext
--- libaudiofile/Makefile.linux.orig Sun Jan 10 04:24:25 1999
|
|
+++ libaudiofile/Makefile.linux Sat Oct 2 09:25:01 1999
|
|
@@ -1,11 +1,11 @@
|
|
-CC = gcc
|
|
-CXX = g++
|
|
+CC ?= gcc
|
|
+CXX ?= g++
|
|
BACKDIR = ../bak/libaudiofile
|
|
HOMEDIR = $(HOME)
|
|
INCDIR = -I.
|
|
-CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall
|
|
+CCFLAGS = $(INCDIR) $(OPTIM) -DLINUX -DUSINGGCC -Wall
|
|
DEBUG = -g3
|
|
-OPTIM = -O1
|
|
+OPTIM = ${CXXFLAGS}
|
|
|
|
LIBNAME = libaudiofile.a
|
|
OBJS = audiofile.o ieee.o macros.o raw.o wav.o
|
|
@@ -21,6 +21,7 @@
|
|
libaudiofile.a: $(OBJS)
|
|
rm -f $(LIBNAME)
|
|
ar ruv $(LIBNAME) $(OBJS)
|
|
+ ranlib $(LIBNAME)
|
|
|
|
clean:
|
|
-rm -f $(OBJS) core
|