summaryrefslogtreecommitdiffstats
path: root/misc/upclient/files/patch-aa
blob: 7a5c4bb709f581612599a7934ea6c5ef14622b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/Makefile.orig	Sun Jun 17 00:48:35 2001
+++ src/Makefile	Sun Nov 18 15:58:37 2001
@@ -9,7 +9,7 @@
 ####
 # Location of config file (for example /etc/upclient.conf)
 #
-CONFIGFILE = upclient.conf
+CONFIGFILE = $(PREFIX)/etc/upclient.conf
 
 
 ####
@@ -113,7 +113,7 @@
 		CFLAGS='-DPLATFORM_WINNT -DCONFIGFILE=\"$(CONFIGFILE)\"' \
 		upclient
 
-upclient: upclient.h
+upclient: upclient.h $(OBJECTS)
 	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) upclient.c -o $(BINNAME)
 
 clean:
OpenPOWER on IntegriCloud