fe7d808a96
PR: 19362 Submitted by: maintainer
31 lines
923 B
Text
31 lines
923 B
Text
diff -urN ../dap-2.1.1.orig/spkit/spkit/Makefile.linux ./spkit/spkit/Makefile.linux
|
|
--- ../dap-2.1.1.orig/spkit/spkit/Makefile.linux Tue Feb 22 09:28:14 2000
|
|
+++ ./spkit/spkit/Makefile.linux Sun Jun 11 13:52:20 2000
|
|
@@ -1,5 +1,5 @@
|
|
-CC = gcc
|
|
-CXX = g++
|
|
+CC ?= gcc
|
|
+CXX ?= g++
|
|
FORMS = ../../../xforms/FORMS
|
|
SOUND = ../../sound
|
|
TOOLTIP = ../../tooltips
|
|
@@ -8,9 +8,9 @@
|
|
HOMEDIR = $(HOME)
|
|
X11DIR = /usr/X11R6
|
|
INCDIR = -I. -I.. -I../.. -I$(SOUND) -I$(FORMS) -I$(MAINDIR) -I$(TOOLTIP) -I$(X11DIR)/include
|
|
-CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
|
|
+CCFLAGS = $(INCDIR) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
|
|
DEBUG = -g3
|
|
-OPTIM = -O2
|
|
+OPTIM = ${CXXFLAGS}
|
|
|
|
.c.o:
|
|
$(CC) $(CCFLAGS) -c $*.c -o $*.o
|
|
@@ -65,6 +65,7 @@
|
|
libdsp.a: $(OBJS)
|
|
rm -f $(LIBNAME)
|
|
ar ruv $(LIBNAME) $(OBJS)
|
|
+ ranlib $(LIBNAME)
|
|
|
|
clean:
|
|
rm -f $(OBJS)
|