1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/audio/alienwah/files/patch-Makefile
Ying-Chieh Liao e3b3d5fa78 s/ /\t/
PR:		43294
Submitted by:	maintainer
2002-09-28 14:00:18 +00:00

41 lines
919 B
Plaintext

--- Makefile.orig Sun Jan 6 18:34:24 2002
+++ Makefile Mon May 13 01:20:42 2002
@@ -1,25 +1,16 @@
# parts taken from ladspa-sdk src/makefile
-INCLUDES = -I/usr/local/include
-#LIBRARIES = -ldl -lm
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
-CXXFLAGS = $(CFLAGS)
+CXXFLAGS += -I${LOCALBASE}/include
PLUGINS = aw.so
-CC = cc
-CPP = c++
###############################################################################
#
# RULES TO BUILD PLUGINS FROM C OR C++ CODE
#
-%.so: %.c
- $(CC) $(CFLAGS) -c $*.c
- $(LD) -o $*.so $*.o -shared
-
%.so: %.cpp
- $(CPP) $(CXXFLAGS) -c $*.cpp
- $(CPP) -o $*.so $*.o -shared
+ $(CXX) $(CXXFLAGS) -c $*.cpp
+ $(CXX) -o $*.so $*.o -shared
###############################################################################
#
@@ -29,7 +20,7 @@
all: $(PLUGINS)
install:
- cp aw.so /usr/local/lib/ladspa/
+ cp aw.so ${LOCALBASE}/lib/ladspa/
clean:
-rm -f *.o *.so