summaryrefslogtreecommitdiff
path: root/audio/gramofile/files/post-patch-Makefile
blob: 446740bd0a52822d01d0720738f1d5ea514d588a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: Makefile
@@ -20,16 +20,16 @@
 ########## CHOOSE YOUR ARCHITECTURE:    (NOTE: also see bplaysrc/Makefile!)
 
 # For Linux (and maybe others), use these:
-CFLAGS = -Wall -O2 -funroll-loops -DTURBO_MEDIAN -DTURBO_BUFFER
-DEPS = $(OBJS) makebplay
-LIBS = -lncurses -lrfftw -lfftw -lm
-COPY_A = -a
+#CFLAGS = -Wall -O2 -funroll-loops -DTURBO_MEDIAN -DTURBO_BUFFER
+#DEPS = $(OBJS) makebplay
+#LIBS = -lncurses -lrfftw -lfftw -lm
+#COPY_A = -a
 
 # For FreeBSD (and maybe others), use these:
-#CFLAGS = -Wall -O2 -DTURBO_MEDIAN -DTURBO_BUFFER
-#DEPS = $(OBJS) makebplay
-#LIBS = -lncurses  -lrfftw -lfftw -lm
-#COPY_A = -p
+CFLAGS += -Wall -DTURBO_MEDIAN -DTURBO_BUFFER -I${LOCALBASE}/include
+DEPS = $(OBJS) makebplay
+LIBS = -L${LOCALBASE}/lib -lncurses  -lrfftw -lfftw -lm
+COPY_A = -p
 
 # For IRIX (and maybe others), use these:
 #CFLAGS = -Wall -O2 -DTURBO_MEDIAN -DTURBO_BUFFER -DSWAP_ENDIAN -DOLD_CURSES