summaryrefslogtreecommitdiff
path: root/ftp/ncftp1/files/patch-aa
blob: 7b5e573352546364db4b33ae3c1fa8a3d2010bcc (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
27
28
29
30
31
32
33
34
35
--- Makefile.orig	Sun Oct  1 17:50:58 1995
+++ Makefile	Sun Oct 19 02:18:45 2003
@@ -13,7 +13,7 @@
 
 # Program definitions.  See the README, part C.
 #--------------------------------------------------------------------------
-PDEFS =
+PDEFS = -DREADLINE
 #PDEFS = -DGETLINE
 #PDEFS = -DREADLINE -DCURSES
 #PDEFS = -DSOCKS
@@ -24,11 +24,12 @@
 # Choose your compiler and flags below.  Make sure you use an ANSI compiler
 # that handles new style function declarations and prototypes (gcc should).
 #--------------------------------------------------------------------------
-CC = cc
+CC ?= cc
 #CC = gcc
 
+CFLAGS ?= -O -pipe
 #CFLAGS = $(TERM_INC) -O
-CFLAGS = $(TERM_INC) -O2
+CFLAGS += $(TERM_INC)
 #CFLAGS = $(TERM_INC) -g
 
 LFLAGS = -s
@@ -53,7 +54,7 @@
 # You'll need to know where the Rconnect.o object file is if you want
 #   to use Socks.
 #--------------------------------------------------------------------------
-LIBS =
+LIBS = -lreadline
 #LIBS = -ldbmalloc
 #LIBS = -lgetline
 #LIBS = -lreadline -lcurses