blob: a5ff7d1ad9efe427a09e2bf2ef59397141ed22d2 (
plain)
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
|
$NetBSD: patch-aa,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $
--- Makefile.orig Thu Aug 21 03:29:58 1997
+++ Makefile
@@ -1,14 +1,13 @@
# Where to install the xmftp binary
-INSTALL_BIN_DIR=/usr/local/bin
+INSTALL_BIN_DIR=$(PREFIX)/bin
# If your libraries (see LIBS below) are located somewhere else, change this
-LFLAGS=-L/usr/X11R6/lib
+LFLAGS=$(LDFLAGS)
# Shouldn't have to edit anything below this line
##########################################################################
-CC=gcc
-CFLAGS=-Wall
+CFLAGS+=-Wall
OBJ= ui/xmftp.o ui/build_menu.o ui/menu_creation.o ui/operations.o \
ui/layout.o ui/setup_cbs.o program/misc.o \
program/unix/implementation.o program/ftp.o \
@@ -33,7 +32,7 @@
echo "All done! You may do 'make install' now if you like."; \
echo ""
-xmftp: doobj
+xmftp: $(OBJ)
$(CC) $(CFLAGS) $(LFLAGS) -o xmftp $(OBJ) $(LIBS)
@echo ""; \
echo "All done! You may do 'make install' now if you like."; \
|